mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-23 02:16:31 +01:00
Fixed aplay -l
This commit is contained in:
parent
025a1c8d26
commit
72db56ca30
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ static void device_list(void)
|
||||||
break;
|
break;
|
||||||
pcminfo.device = dev;
|
pcminfo.device = dev;
|
||||||
pcminfo.stream = -stream - 1;
|
pcminfo.stream = -stream - 1;
|
||||||
pcminfo.subdevice = -1;
|
pcminfo.subdevice = 0;
|
||||||
if ((err = snd_ctl_pcm_info(handle, &pcminfo)) < 0) {
|
if ((err = snd_ctl_pcm_info(handle, &pcminfo)) < 0) {
|
||||||
error("control digital audio info (%i): %s", card, snd_strerror(err));
|
error("control digital audio info (%i): %s", card, snd_strerror(err));
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue