mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 22:56:31 +01:00
Fix argument for snd_device_name_hint().
Fix the iface argument for snd_device_name_hint().
This commit is contained in:
parent
fb219cacb6
commit
a8e31a5589
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ static void pcm_list(void)
|
|||
{
|
||||
char **hints, **n, *delim, *filter;
|
||||
|
||||
if (snd_device_name_hint(-1, SND_CTL_ELEM_IFACE_PCM, &hints) < 0)
|
||||
if (snd_device_name_hint(-1, "pcm", &hints) < 0)
|
||||
return;
|
||||
n = hints;
|
||||
filter = stream == SND_PCM_STREAM_CAPTURE ? "{Playback}" : "{Capture}";
|
||||
|
|
Loading…
Reference in a new issue