[pulseaudio-discuss] [V4 PATCH] module-switch-on-connect: add an argument for conditionally connecting
Hui Wang
hui.wang at canonical.com
Thu Sep 25 20:09:04 PDT 2014
On 09/26/2014 12:13 AM, Raymond Yau wrote:
>
>
> >>
> >> >
> >> > 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://launchpadlibrarian.net/184055917/PulseList.txt
>
> Seem line in is active port when all ports are not available
> Pulseaudio won't switch away from line in but gnome won't show line in
> since it is not plugged
>
> ports:
> analog-input-microphone-front: Front Microphone (priority 8500,
> latency offset 0 usec, available: no)
> properties:
> device.icon_name = "audio-input-microphone"
> analog-input-microphone-rear: Rear Microphone (priority 8200, latency
> offset 0 usec, available: no)
> properties:
> device.icon_name = "audio-input-microphone"
> analog-input-linein: Line In (priority 8100, latency offset 0 usec,
> available: no)
> properties:
>
> active port: <analog-input-linein>
>
Yes, in this situation, the default-source->active_port->available=no,
if you use this module and pass "only_from_unavailable=yes", when
connect bluetooth headset, the default source will automatically switch
to bluez-source.
In this situation, if you plug something in the line-in jack, the
default-source->active_port-available=yes, and if you pass
"only_from_unavailable=yes", the default source will not switch.
>
> https://launchpadlibrarian.net/184417469/alsa2.txt
>
>
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140926/aa692b48/attachment.html>
More information about the pulseaudio-discuss
mailing list