mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
don't open the alsa devices in hw:xxx mode
This commit is contained in:
parent
6790c03f91
commit
a571565f86
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue