don't open the alsa devices in hw:xxx mode

This commit is contained in:
Lennart Poettering 2009-02-15 20:34:38 +01:00
parent 6790c03f91
commit a571565f86

View file

@ -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;