[pulseaudio-tickets] [Bug 101798] module-switch-on-port-available only switches output but leaves input unmodified

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 25 16:50:26 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101798

Tanu Kaskinen <tanuk at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|REOPENED                    |RESOLVED

--- Comment #3 from Tanu Kaskinen <tanuk at iki.fi> ---
Sorry for not paying attention!

The internal mic has higher priority than the headset mic, which explains why
the port doesn't get changed. The internal speakers also have higher priority
than headphones, but when headphones are plugged in, we mark the internal
speakers as unavailable. We use the same trick with some external mic ports,
but not with headset-mic or headphone-mic.

I believe the reason is that with headset-mic/headphone-mic, the jack
information that we get from alsa doesn't include exact information about what
was plugged in. We only know that either headphones, a headset or a microphone
was plugged in. Marking the internal mic as unavailable would break the common
case where headphones without a mic were plugged in.

Ubuntu solves this by popping up a GUI that asks what you plugged in.

Pulseaudio just doesn't have enough information to automatically always select
the right port. Defaulting to the internal mic is safer than the headset mic.
I'll mark this as NOTABUG, but if you think there is a solution, feel free to
reopen.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20170725/aa108894/attachment.html>


More information about the pulseaudio-bugs mailing list