mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
load alsa modules with device string hw:0 instead of hw:0,0
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@990 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
6140619e61
commit
73eedcbaae
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ static int detect_alsa(pa_core *c, int just_one) {
|
|||
if (subdevice != 0)
|
||||
continue;
|
||||
|
||||
snprintf(args, sizeof(args), "device=hw:%u,0", device);
|
||||
snprintf(args, sizeof(args), "device=hw:%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