[pulseaudio-discuss] [RFC PATCH v2 2/3] Add use_ucm to udev detect module

Feng Wei feng.wei at linaro.org
Wed Mar 14 23:26:55 PDT 2012


Make UCM branches available in alsa module when alsa card detected.
---
 src/modules/module-udev-detect.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/modules/module-udev-detect.c b/src/modules/module-udev-detect.c
index 1192194..ccc3374 100644
--- a/src/modules/module-udev-detect.c
+++ b/src/modules/module-udev-detect.c
@@ -394,6 +394,7 @@ static void card_changed(struct userdata *u, struct udev_device *dev) {
                                 "fixed_latency_range=%s "
                                 "ignore_dB=%s "
                                 "deferred_volume=%s "
+                                "use_ucm=1 "
                                 "card_properties=\"module-udev-detect.discovered=1\"",
                                 path_get_card_id(path),
                                 n,
-- 
1.7.4.1




More information about the pulseaudio-discuss mailing list