mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 22:56:31 +01:00
aplay: namehint fix - use filter before printing device name
This commit is contained in:
parent
a6f9df06af
commit
815fc4bea0
1 changed files with 1 additions and 1 deletions
|
@ -274,9 +274,9 @@ static void pcm_list(void)
|
|||
name = snd_device_name_get_hint(*n, "NAME");
|
||||
descr = snd_device_name_get_hint(*n, "DESC");
|
||||
io = snd_device_name_get_hint(*n, "IOID");
|
||||
printf("%s\n", name);
|
||||
if (io != NULL && strcmp(io, filter) == 0)
|
||||
goto __end;
|
||||
printf("%s\n", name);
|
||||
if ((descr1 = descr) != NULL) {
|
||||
printf(" ");
|
||||
while (*descr1) {
|
||||
|
|
Loading…
Reference in a new issue