Skip to content
Snippets Groups Projects
Commit b44a9697 authored by Sam Thursfield's avatar Sam Thursfield
Browse files

Fix -alsaadd option to add output as well as input device

parent 89203c8d
No related branches found
No related tags found
No related merge requests found
......@@ -880,7 +880,9 @@ void alsa_getdevs(char *indevlist, int *nindevs,
{
if (j >= maxndev)
break;
snprintf(indevlist + j * devdescsize, devdescsize, "%s",
snprintf(indevlist + j * devdescsize, devdescsize, "%s",
alsa_names[i]);
snprintf(outdevlist + j * devdescsize, devdescsize, "%s",
alsa_names[i]);
}
*nindevs = *noutdevs = j;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment