mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
alsa-mixer: Add more jack detection for Headset mic path
On some machines which has a headset jack, the headset mic does not have its own jack detection. Then we can look at the headphone jack to get some indication: We know that if the headphone is unplugged, so is the headset mic. The opposite is not guaranteed since the user might have plugged in a headphone, not a headset. Also, there exist multi-function jacks which support both Headphone, Mic in headphone jack and Headset Mic. In this case the jack name will be "Headphone Mic", not "Headphone", so we need to include this name too. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
4096989ad6
commit
ff96c63a3e
1 changed files with 6 additions and 0 deletions
|
|
@ -30,6 +30,12 @@ state.plugged = unknown
|
|||
state.unplugged = unknown
|
||||
required-any = any
|
||||
|
||||
[Jack Headphone]
|
||||
state.plugged = unknown
|
||||
|
||||
[Jack Headphone Mic]
|
||||
state.plugged = unknown
|
||||
|
||||
[Element Headset Mic Boost]
|
||||
required-any = any
|
||||
switch = select
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue