pulseaudio/src/modules
David Henningsson dedf1340c6 alsa: Jack detection kcontrol implementation
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-03-11 12:23:46 +05:30
..
alsa alsa: Jack detection kcontrol implementation 2012-03-11 12:23:46 +05:30
bluetooth bluetooth: Run update-sbc 2012-02-24 21:22:41 +00:00
dbus core: infrastructure for alternate sampling rate 2011-10-17 19:23:26 +05:30
echo-cancel echo-cancel: Better handling of error conditions in test 2011-12-14 21:53:39 +05:30
gconf Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
jack module-jackdbus-detect: Avoid double-free of modargs 2011-10-05 20:50:03 +05:30
macosx fix the ever-popular 'the the' typo 2012-01-28 17:51:59 +02:00
oss oss: Use log2 function from core-util instead of own implementation 2011-11-14 11:08:04 +05:30
raop raop: Don't crash if fd is not open when trying to close it 2011-09-14 09:23:38 +01:00
rtp module-rtp-recv: fail when SO_TIMESTAMP is not defined 2012-01-03 00:20:04 +05:30
x11 x11: Drop unneeded 'struct' and use the typedef directly. 2011-11-27 15:42:52 +00:00
hal-util.c hal: check properly for failure of libhal_find_device_by_capability() (llvm-clang-analyzer) 2009-09-08 23:48:47 +02:00
hal-util.h Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
ladspa.h merge 'lennart' branch back into trunk. 2007-10-28 19:13:50 +00:00
module-always-sink.c Move i18n.[ch] to src/pulsecore 2011-08-11 13:23:42 +02:00
module-augment-properties.c win32: Make some unused-variable warnings go away 2011-06-24 00:34:05 +01:00
module-card-restore.c Plug some memory leaks and an invalid read 2011-08-12 20:31:52 +02:00
module-cli.c win32: Make some unused-variable warnings go away 2011-06-24 00:34:05 +01:00
module-combine-sink.c memblockq: Improve debuggability by storing a name and a sample spec. 2011-10-01 13:25:16 +01:00
module-combine.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-console-kit.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-default-device-restore.c More spelling fixes 2011-08-25 11:27:47 +01:00
module-defs.h.m4 modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated 2009-05-28 02:47:36 +02:00
module-detect.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-device-manager.c More spelling fixes 2011-08-25 11:27:47 +01:00
module-device-restore.c device-restore: Fix use-after-free error. 2011-09-05 20:29:36 +01:00
module-equalizer-sink.c fix the ever-popular 'the the' typo 2012-01-28 17:51:59 +02:00
module-esound-compat-spawnfd.c Initialise variables 2011-08-15 09:41:56 +01:00
module-esound-compat-spawnpid.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-esound-sink.c win32: Avoid some compiler warnings when cross-compiling for mingw32 2011-11-27 16:24:48 +00:00
module-filter-apply.c filters: Handle echo-cancel streams better 2011-11-24 13:03:26 +05:30
module-filter-heuristics.c core: Add a string list membership check function 2011-10-28 15:21:09 +02:00
module-hal-detect-compat.c hal: add stub module that loads module-udev-detect instead of module-hal-detect 2009-08-11 23:04:35 +02:00
module-hal-detect.c More spelling fixes 2011-08-25 11:27:47 +01:00
module-intended-roles.c core: Add a string list membership check function 2011-10-28 15:21:09 +02:00
module-ladspa-sink.c memblockq: Improve debuggability by storing a name and a sample spec. 2011-10-01 13:25:16 +01:00
module-lirc.c volume: Clamp volume to PA_VOLUME_MAX 2010-10-15 01:10:00 +05:30
module-loopback.c loopback: Trivial whitespace fix 2012-02-07 14:03:47 +05:30
module-match.c match: Support for both merging and replacing proplist updates. 2011-04-29 12:37:58 +01:00
module-mmkbd-evdev.c volume: Clamp volume to PA_VOLUME_MAX 2010-10-15 01:10:00 +05:30
module-native-protocol-fd.c Initialise variables 2011-08-15 09:41:56 +01:00
module-null-sink.c fix the ever-popular 'the the' typo 2012-01-28 17:51:59 +02:00
module-null-source.c Initialise variables 2011-08-15 09:41:56 +01:00
module-pipe-sink.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-pipe-source.c pipe: use pa_pipe_buf instead of the macro PIPE_BUF 2012-01-03 00:20:04 +05:30
module-position-event-sounds.c More spelling fixes 2011-08-25 11:27:47 +01:00
module-protocol-stub.c More spelling fixes 2011-08-25 11:27:47 +01:00
module-remap-sink.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-rescue-streams.c Fix typos 2010-12-20 11:07:30 +00:00
module-role-cork.c role-cork: Allow module-role-cork to act globally. 2011-10-25 14:01:32 +02:00
module-rygel-media-server.c Make gcc --std=c99 happy 2011-09-03 12:17:28 +02:00
module-sine-source.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-sine.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-solaris.c solaris: Use real_volume for set/get volume 2011-10-20 15:05:04 +05:30
module-stream-restore.c stream-restore: Don't verify entry validity needlessly. 2012-01-28 16:43:49 +02:00
module-suspend-on-idle.c module-suspend-on-idle: Move vacuum code to core 2011-09-09 09:55:48 +01:00
module-switch-on-connect.c module-switch-on-connect: Don't switch unlinked sink input and source outputs 2011-08-31 18:49:44 +05:30
module-tunnel.c tunnel: fixup create_record_stream 2012-02-20 14:29:15 +05:30
module-udev-detect.c alsa: fixed latency range handling for udev-detect 2011-11-03 21:31:27 +01:00
module-virtual-sink.c virtual-sink: Remove irrelevant comment. 2012-02-12 16:23:17 +02:00
module-virtual-source.c memblockq: Improve debuggability by storing a name and a sample spec. 2011-10-01 13:25:16 +01:00
module-virtual-surround-sink.c Add module-virtual-surround-sink. 2012-03-09 07:20:13 +02:00
module-volume-restore.c Fix up some double spaces 2011-03-18 09:20:07 +00:00
module-waveout.c devices: Use wrapper functions to set the *_volume and *_mute callbacks. 2011-07-19 19:50:43 +01:00
module-zeroconf-discover.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
module-zeroconf-publish.c Remove unnecessary #includes 2011-06-22 23:12:20 +01:00
reserve-monitor.c voltest: extend test to verify correctness of _multiply() and _divide() 2009-08-19 01:02:32 +02:00
reserve-monitor.h More spelling fixes 2011-08-25 11:27:47 +01:00
reserve-wrap.c Move i18n.[ch] to src/pulsecore 2011-08-11 13:23:42 +02:00
reserve-wrap.h reserve: wrap device reservation monitor reference implementation 2009-06-05 19:03:16 +02:00
reserve.c voltest: extend test to verify correctness of _multiply() and _divide() 2009-08-19 01:02:32 +02:00
reserve.h More spelling fixes 2011-08-25 11:27:47 +01:00
udev-util.c More spelling fixes 2011-08-25 11:27:47 +01:00
udev-util.h Remove unnecessary #includes 2011-06-22 23:12:20 +01:00