From: David Henningsson Date: Mon, 4 Jul 2011 08:12:17 +0000 (+0200) Subject: alsa-mixer: Set "Front" control to 0 dB on headphone path X-Git-Tag: v0.99.4~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96369919e5100865e2469e42fb8f4b8e38e41aef;p=platform%2Fupstream%2Fpulseaudio.git alsa-mixer: Set "Front" control to 0 dB on headphone path 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 --- 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 1d8d3fe..7f95f0a 100644 --- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf +++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf @@ -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