diff options
Diffstat (limited to 'src/modules/module-detect.c')
-rw-r--r-- | src/modules/module-detect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-detect.c b/src/modules/module-detect.c index 9ed262db..773e1d87 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; |