From: David Henningsson Date: Mon, 15 Aug 2011 12:05:48 +0000 (+0200) Subject: alsa-mixer: Add "Line HP Swap" element X-Git-Tag: v0.99.3~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c86d76554e43dfdba173e052257518493cd716e;p=platform%2Fupstream%2Fpulseaudio.git alsa-mixer: Add "Line HP Swap" element The "Line HP Swap" element needs to be set correctly for some Dove boards to work correctly. Thanks to Daniel T Chen for the patch. BugLink: http://bugs.launchpad.net/bugs/451635 Signed-off-by: David Henningsson --- diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones.conf b/src/modules/alsa/mixer/paths/analog-output-headphones.conf index 1d7bb0b..1d8d3fe 100644 --- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf +++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf @@ -45,6 +45,9 @@ 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. diff --git a/src/modules/alsa/mixer/paths/analog-output.conf b/src/modules/alsa/mixer/paths/analog-output.conf index 50fc88e..16dadc4 100644 --- a/src/modules/alsa/mixer/paths/analog-output.conf +++ b/src/modules/alsa/mixer/paths/analog-output.conf @@ -38,6 +38,9 @@ override-map.2 = all-left,all-right switch = off volume = off +[Element Line HP Swap] +switch = off + ; This profile path is intended to control the default output, not the ; headphones. But it should not hurt if we leave the headphone jack ; enabled nonetheless.