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

Arun Raghavan arun.raghavan at collabora.co.uk
Fri Jun 8 04:53:53 PDT 2012


On Fri, 2012-05-18 at 18:06 +0800, feng.wei at linaro.org wrote:
> From: Feng Wei <feng.wei at linaro.org>
> 
> Make UCM branches available in alsa module when alsa card detected.
> 
> Signed-off-by: Feng Wei <feng.wei at linaro.org>
> ---
>  src/modules/module-udev-detect.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> 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,

Do we really need this? We could just have it on-by-default in
module-alsa-card, where you already gracefully fallback to the old
behaviour of UCM configs don't exist.

-- Arun



More information about the pulseaudio-discuss mailing list