]> code.delx.au - pulseaudio/commitdiff
alsa-mixer: Fix Analog Input showing up on USB Headset
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 11 Mar 2014 04:50:10 +0000 (05:50 +0100)
committerDavid Henningsson <david.henningsson@canonical.com>
Tue, 11 Mar 2014 04:50:10 +0000 (05:50 +0100)
In some cases, "Analog Input" could show up as well as
"Headset Mic" (or "Headphone Mic"), because I forgot to add the
relevant "required-absent" lines when I added the headset mic path.

As a result, both "Analog Input" and "Headset Mic" showed up on the
Logitech USB 530 Headset.

Reported-by: Steve Magoun <steve.magoun@canonical.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/alsa/mixer/paths/analog-input.conf

index c8f8e3cc3380a1c151a665f774b5791bb12b0723..356b07c28738397f675a10c0e92c3fd0a3c4b8d0 100644 (file)
@@ -61,6 +61,21 @@ required-absent = any
 [Element Rear Mic Boost]
 required-absent = any
 
+[Element Headset]
+required-absent = any
+
+[Element Headset Mic]
+required-absent = any
+
+[Element Headset Mic Boost]
+required-absent = any
+
+[Element Headphone Mic]
+required-absent = any
+
+[Element Headphone Mic Boost]
+required-absent = any
+
 [Element Line]
 required-absent = any