Hi all, This is the second version of the patches for PA and UCM integration.
Changes from v1: - Add new ucm function and structures in a separate file at alsa directory - Use udev ruel to load UCM - Use udev rule to load jack detection module - Use pa_threads and pa file operations. - Improve the logic at jack detection hooks Margarita Olaya Cabrera (7): alsa: make visible profile functions alsa: add proplist ucm data alsa: add ucm data structures and calls alsa: add support for ucm profiles alsa: add jack detection support alsa: add hook calls for jack insertion and removal alsa: load jack detection module src/Makefile.am | 11 +- src/modules/alsa/alsa-mixer.c | 10 +- src/modules/alsa/alsa-mixer.h | 9 + src/modules/alsa/alsa-ucm.c | 529 ++++++++++++++++++++++++++++ src/modules/alsa/alsa-ucm.h | 83 +++++ src/modules/alsa/module-alsa-card.c | 199 ++++++++++- src/modules/alsa/module-alsa-jack-detect.c | 207 +++++++++++ src/modules/module-udev-detect.c | 315 ++++++++++++++++- src/pulse/proplist.h | 27 ++ src/pulsecore/core.h | 2 + src/pulsecore/jack-detect.h | 42 +++ 11 files changed, 1402 insertions(+), 32 deletions(-) create mode 100644 src/modules/alsa/alsa-ucm.c create mode 100644 src/modules/alsa/alsa-ucm.h create mode 100644 src/modules/alsa/module-alsa-jack-detect.c create mode 100644 src/pulsecore/jack-detect.h _______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss