diff options
author | David Henningsson <david.henningsson@canonical.com> | 2013-08-02 15:03:26 +0200 |
---|---|---|
committer | David Henningsson <david.henningsson@canonical.com> | 2013-08-02 15:17:04 +0200 |
commit | e6051cdf8db554c0bbd4257959c37a7ecc9c10c5 (patch) | |
tree | 3566beb0fdb16fd38ff1dd69c9c431858db2f6e8 /src/modules/alsa/mixer/paths/analog-input-front-mic.conf | |
parent | 55e169655d0498890380884af24c7ff2beb91113 (diff) |
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>
Diffstat (limited to 'src/modules/alsa/mixer/paths/analog-input-front-mic.conf')
-rw-r--r-- | src/modules/alsa/mixer/paths/analog-input-front-mic.conf | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/alsa/mixer/paths/analog-input-front-mic.conf b/src/modules/alsa/mixer/paths/analog-input-front-mic.conf index 3fb5f5e85..5265e5b65 100644 --- a/src/modules/alsa/mixer/paths/analog-input-front-mic.conf +++ b/src/modules/alsa/mixer/paths/analog-input-front-mic.conf @@ -30,6 +30,12 @@ required-any = any state.plugged = unknown state.unplugged = unknown +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + [Element Front Mic Boost] required-any = any switch = select @@ -50,12 +56,6 @@ volume = merge override-map.1 = all override-map.2 = all-left,all-right -[Element Capture] -switch = mute -volume = merge -override-map.1 = all -override-map.2 = all-left,all-right - [Element Input Source] enumeration = select |