From: David Henningsson Date: Thu, 28 Jun 2012 13:40:17 +0000 (+0200) Subject: alsa-mixer: Always turn "Inverted Internal Mic" off X-Git-Tag: v2.99.1~225 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=004934ecaf3436173d936a555ec1b131a2867f73;p=platform%2Fupstream%2Fpulseaudio.git alsa-mixer: Always turn "Inverted Internal Mic" off Some devices have inverted right channel, so when you add left and right, the result is silence, or very faint sound. In recent kernels (3.5, perhaps also 3.4) these are starting to be marked with a special "Inverted Internal Mic" capture switch. While we might want to add some reverse summing mechanism in the future, for now, we just turn the thing off to avoid the problem of recording silence. Signed-off-by: David Henningsson --- diff --git a/src/modules/alsa/mixer/paths/analog-input-mic.conf.common b/src/modules/alsa/mixer/paths/analog-input-mic.conf.common index 2e4f0d8..b1cdbaf 100644 --- a/src/modules/alsa/mixer/paths/analog-input-mic.conf.common +++ b/src/modules/alsa/mixer/paths/analog-input-mic.conf.common @@ -46,6 +46,10 @@ volume = off switch = off volume = off +[Element Inverted Internal Mic] +switch = off +volume = off + [Element Mic Jack Mode] enumeration = select