]> code.delx.au - pulseaudio/commitdiff
alsa-mixer: Set "Front" control to 0 dB on headphone path
authorDavid Henningsson <david.henningsson@canonical.com>
Mon, 4 Jul 2011 08:12:17 +0000 (10:12 +0200)
committerColin Guthrie <colin@mageia.org>
Sat, 3 Sep 2011 10:14:54 +0000 (12:14 +0200)
I've seen more than one system where the volume control named
"Front" is a part of audio path for headphones. This is somewhat
of a compromise: While we don't merge it into the path, as that
would be regressing machines where "Front" isn't a part of the
audio path, it would still enable sound on these machines.

BugLink: http://bugs.launchpad.net/bugs/804178
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
src/modules/alsa/mixer/paths/analog-output-headphones.conf

index e47543f54da23b03ee2d5601f94326ef5fc91c33..284713bedf85e4eed2355b521638ef867c39851d 100644 (file)
@@ -60,9 +60,10 @@ volume = off
 switch = off
 volume = off
 
+; On some machines Front is actually a part of the Headphone path
 [Element Front]
-switch = off
-volume = off
+switch = mute
+volume = zero
 
 [Element Rear]
 switch = off
index 1d8d3fe7bb74cdd9c3cb60115b735ea96faa3457..7f95f0a7eb7ba118d444dca997086bf5a3db388b 100644 (file)
@@ -63,9 +63,10 @@ volume = off
 switch = off
 volume = off
 
+; On some machines Front is actually a part of the Headphone path
 [Element Front]
-switch = off
-volume = off
+switch = mute
+volume = zero
 
 [Element Rear]
 switch = off