[PATCH] alsa-mixer: Set "Front" control to 0 dB on headphone path
David Henningsson
david.henningsson at canonical.com
Mon Jul 4 01:12:17 PDT 2011
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 at canonical.com>
---
.../mixer/paths/analog-output-headphones-2.conf | 5 +++--
.../alsa/mixer/paths/analog-output-headphones.conf | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf b/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
index e47543f..284713b 100644
--- a/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
@@ -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
diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones.conf b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
index 1d7bb0b..7062918 100644
--- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
@@ -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
--
1.7.4.1
--------------030800020502030705070906--
More information about the pulseaudio-discuss
mailing list