mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-08 21:55:42 +01:00
print caption in hardware list only once
This commit is contained in:
parent
5b0f5dfb81
commit
d6b7774f7f
1 changed files with 1 additions and 1 deletions
|
@ -199,6 +199,7 @@ static void device_list(void)
|
|||
error("no soundcards found...");
|
||||
return;
|
||||
}
|
||||
fprintf(stderr, "**** List of %s Hardware Devices ****\n", snd_pcm_stream_name(stream));
|
||||
while (card >= 0) {
|
||||
char name[32];
|
||||
sprintf(name, "hw:%d", card);
|
||||
|
@ -211,7 +212,6 @@ static void device_list(void)
|
|||
snd_ctl_close(handle);
|
||||
goto next_card;
|
||||
}
|
||||
fprintf(stderr, "**** List of %s Hardware Devices ****\n", snd_pcm_stream_name(stream));
|
||||
dev = -1;
|
||||
while (1) {
|
||||
unsigned int count;
|
||||
|
|
Loading…
Reference in a new issue