]> code.delx.au - pulseaudio/commit
alsa-mixer: Prefer moving "Capture" before moving boosts
authorDavid Henningsson <david.henningsson@canonical.com>
Fri, 2 Aug 2013 13:03:26 +0000 (15:03 +0200)
committerDavid Henningsson <david.henningsson@canonical.com>
Fri, 2 Aug 2013 13:17:04 +0000 (15:17 +0200)
commite6051cdf8db554c0bbd4257959c37a7ecc9c10c5
tree3566beb0fdb16fd38ff1dd69c9c431858db2f6e8
parent55e169655d0498890380884af24c7ff2beb91113
alsa-mixer: Prefer moving "Capture" before moving boosts

Some HD-audio codecs (at least ALC269VB and ALC283) become quite noisy on
high Mic Boost levels. So e g, if there is a "Mic Boost" and a "Capture"
control, both ranging from 0 dB to +30 dB, you get better quality if
"Mic Boost" is 0 dB and "Capture" is +30 dB, than the other way around.

By changing the order in the configuration files, this patch makes us prefer
leaving "Mic Boost" low and "Capture" high if the user selects a medium gain.

(This is based on limited experience, and there is no guarantee that there are
no sound cards that work the other way around, and therefore this patch could
potentially regress quality on those machines. Hopefully those are fewer, so
this is what we should default to.)

BugLink: https://bugs.launchpad.net/1085402
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/alsa/mixer/paths/analog-input-dock-mic.conf
src/modules/alsa/mixer/paths/analog-input-front-mic.conf
src/modules/alsa/mixer/paths/analog-input-headphone-mic.conf
src/modules/alsa/mixer/paths/analog-input-headset-mic.conf
src/modules/alsa/mixer/paths/analog-input-internal-mic-always.conf
src/modules/alsa/mixer/paths/analog-input-internal-mic.conf
src/modules/alsa/mixer/paths/analog-input-mic.conf
src/modules/alsa/mixer/paths/analog-input-rear-mic.conf