From: Lennart Poettering Date: Sun, 15 Feb 2009 19:34:38 +0000 (+0100) Subject: don't open the alsa devices in hw:xxx mode X-Git-Tag: v0.9.15-test3~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a571565f86a34d4ce4f16669c021be92494e132d;p=platform%2Fupstream%2Fpulseaudio.git don't open the alsa devices in hw:xxx mode --- diff --git a/src/modules/module-detect.c b/src/modules/module-detect.c index 9ed262db4..773e1d875 100644 --- a/src/modules/module-detect.c +++ b/src/modules/module-detect.c @@ -100,7 +100,7 @@ static int detect_alsa(pa_core *c, int just_one) { if (subdevice != 0) continue; - pa_snprintf(args, sizeof(args), "device=hw:%u", device); + pa_snprintf(args, sizeof(args), "device_id=%u", device); if (!pa_module_load(c, is_sink ? "module-alsa-sink" : "module-alsa-source", args)) continue;