From: Takashi Iwai Date: Mon, 6 Nov 2006 16:27:50 +0000 (+0100) Subject: Fix argument for snd_device_name_hint(). X-Git-Tag: v1.0.14rc1~5 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=a8e31a5589b04ecbb8081489b0c9947248e259e1;p=alsa-utils.git Fix argument for snd_device_name_hint(). Fix the iface argument for snd_device_name_hint(). --- diff --git a/aplay/aplay.c b/aplay/aplay.c index dc85af3..3b0bf9e 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -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}";