summaryrefslogtreecommitdiff
path: root/src/modules/alsa/mixer/paths/analog-input-front-mic.conf
AgeCommit message (Collapse)AuthorFilesLines
2015-01-14update FSF addresses to FSF web pageOndrej Holecek1-2/+1
FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources.
2013-08-02alsa-mixer: Prefer moving "Capture" before moving boostsDavid Henningsson1-6/+6
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>
2013-06-04alsa-mixer: Introduce "description-key" option for pathsTanu Kaskinen1-1/+1
Previously the path description was looked up based on the path name only. Since there can be multiple paths that use the same description, it had to be possible to have multiple paths with the same name. Having the same name with multiple paths makes identifying the paths more complex than necessary, so the plan is to make it impossible to have paths with the same name. This patch prepares for that by retaining the possibility to still have the same description with multiple paths. Instead of the path name, the path description is looked up by using the "path description key" if it is set (path name is still used as a fallback lookup key).
2013-03-25alsa-mixer: Support more phantom jacksDavid Henningsson1-0/+5
It's fairly uncommon, but it happens that jack detection is enabled for some reason, e g hardware design. In that case, we cannot use jack detection, but we can still use the hint to pick up that there is a path. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-03-11alsa: Jack detection kcontrol implementationDavid Henningsson1-0/+3
Support the new jack detection interface implemented in Linux 3.3 (and Ubuntu's 3.2 kernel). Jacks are probed and detected using the snd_hctl_* commands, which means we need to listen to them using fdlists. As this detection needs to be active even if there is currently no sink for the jack, so this polling is done on the card level. Also add configuration support in paths, like this: [Jack Headphone] required-any = any ...where 'Jack Headphone' should match 'Headphone Jack' as given by ALSA (as seen in e g 'amixer controls'). "Required", "required-any" and "required-absent" is supported. Using required-any, one can have several ports even though there is no other indication in the mixer that this path exists. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-01-05alsa-mixer: When selecting an input, turn off boosts of other inputsDavid Henningsson1-0/+16
Just like we turn off the "Front Mic" element when we select "Rear Mic", we should also turn off the "Front Mic Boost" element. And the same for the other inputs. Reported-by: Len Owens <len@ovenwerks.net> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2011-08-29Set better priorities on input pathsDavid Henningsson1-1/+1
The priorities should be set in the approximately likeliness that someone would like to use them. This is hard to guess of course, but this is a better guess compared to the existing configuration. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2011-02-25alsa-mixer: Make sure capture source and input source use right pathDavid Henningsson1-0/+2
Make sure that mic and line (with common names) use the specific path instead of the analog-input one. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2011-02-25alsa-mixer: Add new paths for Internal Mic, Front Mic, Rear Mic and Dock MicDavid Henningsson1-0/+79
Signed-off-by: David Henningsson <david.henningsson@canonical.com>