gmane at colin.guthr.ie
Mon Jul 18 04:37:33 PDT 2011
'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
> 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'.
Tribalogic Limited [http://www.tribalogic.net/]
Mageia Contributor [http://www.mageia.org/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]
More information about the pulseaudio-discuss