summaryrefslogtreecommitdiff
path: root/src/pulsecore/module.c
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2013-04-16 06:40:40 +0200
committerDavid Henningsson <david.henningsson@canonical.com>2013-04-24 12:55:25 +0200
commit738c93a49187f27f756024626a811331a4326e5c (patch)
tree90f83c738c16406090b3aef5c52504503bffbeef /src/pulsecore/module.c
parentd75f793f1dea90ff68a59b117de96d3c510b5350 (diff)
alsa-mixer: Switch to Headphone when Headphone mic jack is plugged in
When a "Headphone Mic" jack becomes available, we do not know if a headphone or a mic has been plugged in. Therefore, setting both paths to "unknown" is, in theory, the correct thing to do. However, in practice, people are more likely to plug in a headphone rather than a mic. Therefore, allow autoswitch to the headphone port when the jack is plugged in. A more advanced implementation would consider what was plugged in last time depending on what port was selected on the input side at that time, and set availability accordingly. However, such an implementation will have to wait (probably at least until we have our fancy routing system implementation). Buglink: https://bugs.launchpad.net/bugs/1169143 Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Diffstat (limited to 'src/pulsecore/module.c')
0 files changed, 0 insertions, 0 deletions