Fix argument for snd_device_name_hint().

Fix the iface argument for snd_device_name_hint().
This commit is contained in:
Takashi Iwai 2006-11-06 17:27:50 +01:00
parent fb219cacb6
commit a8e31a5589

View file

@ -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}";