]> code.delx.au - pulseaudio/commitdiff
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>
Mon, 2 Jul 2012 10:21:16 +0000 (12:21 +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 2e4f0d81407429c4c6a00f128572bd4f17e18f78..b1cdbaf12c85e9d403c7843856fa81986834ad42 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