<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 09/26/2014 12:13 AM, Raymond Yau
wrote:<br>
</div>
<blockquote
cite="mid:CAN8cciadpO0M7rJLJ8bjnoH5RR65LfzZwEM9FRE+kWo+kZhTfw@mail.gmail.com"
type="cite">
<p><br>
>><br>
>> ><br>
>> > On a machine without fixed connecting audio
devices like internal<br>
>> > microphone or internal speaker, and when there is
no external audio<br>
>> > devices plugging in, the default source/sink is
alsa_input/alsa_output<br>
>> > and there is no input devices/output devices
listed in the gnome<br>
>> > sound-setting.</p>
<p><a moz-do-not-send="true"
href="https://launchpadlibrarian.net/184055917/PulseList.txt">https://launchpadlibrarian.net/184055917/PulseList.txt</a></p>
<p>Seem line in is active port when all ports are not available<br>
Pulseaudio won't switch away from line in but gnome won't show
line in since it is not plugged</p>
<p>ports:<br>
analog-input-microphone-front: Front Microphone (priority 8500,
latency offset 0 usec, available: no)<br>
properties:<br>
device.icon_name = "audio-input-microphone"<br>
analog-input-microphone-rear: Rear Microphone (priority 8200,
latency offset 0 usec, available: no)<br>
properties:<br>
device.icon_name = "audio-input-microphone"<br>
analog-input-linein: Line In (priority 8100, latency offset 0
usec, available: no)<br>
properties:</p>
<p>active port: <analog-input-linein></p>
</blockquote>
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.<br>
<br>
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.<br>
<blockquote
cite="mid:CAN8cciadpO0M7rJLJ8bjnoH5RR65LfzZwEM9FRE+kWo+kZhTfw@mail.gmail.com"
type="cite">
<p><a moz-do-not-send="true"
href="https://launchpadlibrarian.net/184417469/alsa2.txt">https://launchpadlibrarian.net/184417469/alsa2.txt</a></p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
pulseaudio-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pulseaudio-discuss@lists.freedesktop.org">pulseaudio-discuss@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss">http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>