From: Takashi Iwai <tiwai@suse.de>
To: Raymond Yau <superquad.vortex2@gmail.com>
Cc: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: Questions about Multi-streaming playback with HDA codec ad1988b
Date: Mon, 17 Jan 2011 15:33:37 +0100 [thread overview]
Message-ID: <s5h1v4b38hq.wl%tiwai@suse.de> (raw)
In-Reply-To: <AANLkTi=_xGmLUz24UUPvZGdzFJXU0HcpdsxTuU2C=uta@mail.gmail.com>
At Thu, 13 Jan 2011 10:09:43 +0800,
Raymond Yau wrote:
>
> The patch is to provide a new model which front panel headphone of a
> 6stack-dig desktop can be used for playback a stereo stream independent of
> the rear panel
>
> ad1988b is a HDA codec support 10 channel ( enough DAC for stereo +
> surround71 )
I already applied your patch, so below is a delayed answer...
> 1) Is this approach to create a new model correct or just need to implement
> a switch for activatie the "independent head phone" like those VIA codecs ?
Personally I prefer the model quirk in such a case, since the mixer
controller may break user's expectation too easily. Rather you want
more static setup in such a case.
> 2) do the driver need to define .prepare and .cleanup function or just need
> to use "hda_pcm_default_prepare() and hda_pcm_default_cleanup()
Depends. You can pass NULL if the NID is set properly in the struct
beforehand, so that the default callbacks will be called.
> 3) Is it correct to use device 2 for analog alternate playback since some
> HDA codec implement this feature on "hw:0,0,1" and realtek driver create
> alternate capture on "hw:0,2" , this seem create a lot of problem of the
> application (e.g. PA server ) ?
It's still an open question.
PA doesn't handle the multiple substreams so well, AFAIK. It's partly
because ALSA doesn't expose the capability clearly, and partly because
no explicit PCM definition exists for such a case.
> 3) What functions are still missing in this model ?
> a), do this new model need to disable hp_automute() function
Well, I dunno. What is your _design_?
> b) any change in ad198x_power_eapd_xxx() functions ?
This should be irrelevant.
> c) idenifty ad1988a and ad1988b
Once if we have a PCI quirk entry with any real device ids.
thanks,
Takashi
next prev parent reply other threads:[~2011-01-17 14:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-13 2:09 Questions about Multi-streaming playback with HDA codec ad1988b Raymond Yau
2011-01-17 14:33 ` Takashi Iwai [this message]
2011-02-01 8:55 ` Raymond Yau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5h1v4b38hq.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=superquad.vortex2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).