[pulseaudio-discuss] [V4 PATCH] module-switch-on-connect: add an argument for conditionally connecting

Raymond Yau superquad.vortex2 at gmail.com
Thu Sep 25 02:40:12 PDT 2014


>
> On a machine without fixed connecting audio devices like internal
> microphone or internal speaker, and when there is no external audio
> devices plugging in, the default source/sink is alsa_input/alsa_output
> and there is no input devices/output devices listed in the gnome
> sound-setting.

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=f1e762ddc8035f803d15f8c524151bf788482ec2

On some hda codecs, the user may select stereo mix as input source

Also if user have a tv card connected to line in , your patch require user
to unplug the cable when he use Bluetooth headset

>
> Under this situation, if we connect a bluetooth headset, the gnome
> sound-setting will list bluez input/output devices, but they are not
> active devices by default. This looks very weird that sound-setting
> lists only one input device and one output device, but they are not
> active. To change this situation, we add an argument, the policy is
> if a new source/sink is connected and current default source/sink's
> active_port is AVAILABLE_NO, we let the new added one switch to
> default one.
>

What is the default source when user disconnect his Bluetooth headset ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140925/abbe022f/attachment.html>


More information about the pulseaudio-discuss mailing list