]> code.delx.au - pulseaudio/blobdiff - src/modules/alsa/mixer/paths/analog-output-headphones.conf
alsa: Mute "Bass Speaker" when using headphones or lineout
[pulseaudio] / src / modules / alsa / mixer / paths / analog-output-headphones.conf
index 61d2e297406a4b86116f4451322c537a14fcb51d..89d794fbe1b05cb17d1aca8be93013dab083cb05 100644 (file)
 
 [General]
 priority = 90
+description-key = analog-output-headphones
+
+[Properties]
+device.icon_name = audio-headphones
+
+[Jack Front Headphone]
+required-any = any
+
+[Jack Front Headphone Phantom]
+required-any = any
+state.plugged = unknown
+state.unplugged = unknown
+
+[Jack Headphone]
+required-any = any
+
+[Jack Headphone Phantom]
+required-any = any
+state.plugged = unknown
+state.unplugged = unknown
+
+# This jack can be either a headphone *or* a mic. Used on some ASUS netbooks.
+[Jack Headphone Mic]
+required-any = any
 
 [Element Hardware Master]
 switch = mute
@@ -38,20 +62,42 @@ switch = off
 volume = off
 
 [Element Headphone]
-required = any
+required-any = any
 switch = mute
 volume = merge
 override-map.1 = all
 override-map.2 = all-left,all-right
 
+[Element Headset]
+required-any = any
+switch = mute
+volume = merge
+override-map.1 = all
+override-map.2 = all-left,all-right
+
+[Element Line HP Swap]
+switch = on
+
+; This profile path is intended to control the first headphones, not
+; the second headphones. But it should not hurt if we leave the second
+; headphone jack enabled nonetheless.
+[Element Headphone2]
+switch = mute
+volume = zero
+
 [Element Speaker]
 switch = off
 volume = off
 
-[Element Front]
+[Element Desktop Speaker]
 switch = off
 volume = off
 
+; On some machines Front is actually a part of the Headphone path
+[Element Front]
+switch = mute
+volume = zero
+
 [Element Rear]
 switch = off
 volume = off
@@ -72,4 +118,24 @@ volume = off
 switch = off
 volume = off
 
+[Element Bass Speaker]
+switch = off
+volume = off
+
+[Element Speaker Front]
+switch = off
+volume = off
+
+[Element Speaker Surround]
+switch = off
+volume = off
+
+[Element Speaker Side]
+switch = off
+volume = off
+
+[Element Speaker CLFE]
+switch = off
+volume = off
+
 .include analog-output.conf.common