mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
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> |
||
|---|---|---|
| .. | ||
| mixer | ||
| alsa-mixer.c | ||
| alsa-mixer.h | ||
| alsa-sink.c | ||
| alsa-sink.h | ||
| alsa-source.c | ||
| alsa-source.h | ||
| alsa-util.c | ||
| alsa-util.h | ||
| module-alsa-card.c | ||
| module-alsa-sink.c | ||
| module-alsa-source.c | ||