himanshu.chug at gmail.com
Mon Jul 18 23:14:44 PDT 2011
Thanks for the useful information, good to know this information.
and after discussion with our kernel team here I come to know that they can
handle the JACK detection and route audio internally at ALSA level (like in
ubuntu10.10) and also they can exposed few mixer scripts to PA to externally
route the data over headset and loudspeaker if needed.
few more clarification :
- if not jack detection, then what module-udev-detect is montior for ? or in
other words what is the functionality of module-udev-detect?
- what will happen in case of USB headset plug-in/out, will that be appear
as a new sink ? or USB detection is also same as jack detection ?
- what to trigger to PA to appear/show a new sink (pacmd list-sink)? I am
trying to understand the "sink" definition in terms of PA ?
On Mon, Jul 18, 2011 at 5:07 PM, Colin Guthrie <gmane at colin.guthr.ie> wrote:
> 'Twas brillig, and Himanshu Chug at 18/07/11 10:31 did gyre and gimble:
> > Currently I am trying standard headset with mic (3.5 mm) and not USB
> > headset.
> > _
> > on ubuntu 10.10 desktop_
> > -module-udev-detect is loaded
> > -I am trying out use-case of headset plug/unplug , when music is playing
> > on totem player the audio is getting routed to headset automatically
> > when HS is plugged-in. (which is expected :-) )
> Yes, this is handled at the ALSA level.
> > -here I am expecting to see an new sink device in the list-sinks which
> > is not happening?
> No, that's not what should happen here. Jack-detection is very different
> from a new sink appearing. Jack detection is not yet supported in PA
> althouhg it is being actively worked on by David Henningsson (who is
> currently on vacation).
> The primary problem is the whole infrastructure for doing this in ALSA
> needs to be re-written. It's all rather a mess.
> When things work fully at lower levels, we will be supporting Jack
> detections as "sink ports". The same sink is still used, but it just
> flips it's port from speaker to headphones.
> There is a lot more detail to it than that but unless you're going to
> get involved in the very fundamentals of this, I won't go into the
> details. Feel free to ask for more info tho'.
> Colin Guthrie
> Day Job:
> Tribalogic Limited [http://www.tribalogic.net/]
> Open Source:
> Mageia Contributor [http://www.mageia.org/]
> PulseAudio Hacker [http://www.pulseaudio.org/]
> Trac Hacker [http://trac.edgewall.org/]
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pulseaudio-discuss