alsa-mixer: Always turn "Inverted Internal Mic" off
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 28 Jun 2012 13:40:17 +0000 (15:40 +0200)
committerDavid Henningsson <david.henningsson@canonical.com>
Thu, 5 Jul 2012 07:12:42 +0000 (09:12 +0200)
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 <david.henningsson@canonical.com>
src/modules/alsa/mixer/paths/analog-input-mic.conf.common

index 2e4f0d8..b1cdbaf 100644 (file)
@@ -46,6 +46,10 @@ volume = off
 switch = off
 volume = off
 
+[Element Inverted Internal Mic]
+switch = off
+volume = off
+
 [Element Mic Jack Mode]
 enumeration = select