From a8e31a5589b04ecbb8081489b0c9947248e259e1 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 6 Nov 2006 17:27:50 +0100 Subject: [PATCH] Fix argument for snd_device_name_hint(). Fix the iface argument for snd_device_name_hint(). --- aplay/aplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}";