[pulseaudio-discuss] [RFC Patch 4/4] Support UCM in Pulseaudio

Feng Wei feng.wei at linaro.org
Wed Nov 16 18:26:44 PST 2011


I'm sorry getting one patch mssing.
To test the UCM patch in PA, we need patch to build and enable it.

diff --git a/src/Makefile.am b/src/Makefile.am
index e3af12f..6644858 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1549,6 +1549,7 @@ module_coreaudio_device_la_LIBADD = $(MODULE_LIBADD)

 libalsa_util_la_SOURCES = \
                modules/alsa/alsa-util.c modules/alsa/alsa-util.h \
+               modules/alsa/alsa-ucm.c modules/alsa/alsa-ucm.h \
                modules/alsa/alsa-mixer.c modules/alsa/alsa-mixer.h \
                modules/alsa/alsa-sink.c modules/alsa/alsa-sink.h \
                modules/alsa/alsa-source.c modules/alsa/alsa-source.h \
diff --git a/src/modules/module-udev-detect.c b/src/modules/module-udev-detect.c
index c5312a8..727203e 100644
--- a/src/modules/module-udev-detect.c
+++ b/src/modules/module-udev-detect.c
@@ -390,6 +390,7 @@ static void card_changed(struct userdata *u,
struct udev_device *dev) {
                                 "tsched=%s "
                                 "ignore_dB=%s "
                                 "deferred_volume=%s "
+                                "use_ucm=1 "

"card_properties=\"module-udev-detect.discovered=1\"",
                                 path_get_card_id(path),
                                 n,

-- 
Wei.Feng (irc wei_feng)
Linaro Multimedia Team
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog


More information about the pulseaudio-discuss mailing list