mirror of
https://github.com/alsa-project/alsa-utils
synced 2025-01-03 17:19:47 +01:00
Rerouted 'Using soundcard ...' message to stderr
This commit is contained in:
parent
1057ea82b6
commit
c1f35c1425
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ int main(int argc, char *argv[])
|
||||||
fprintf(stderr, "Error: unable to obtain longname: %s\n", snd_strerror(err));
|
fprintf(stderr, "Error: unable to obtain longname: %s\n", snd_strerror(err));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
printf("Using soundcard '%s'\n", cardname);
|
fprintf(stderr, "Using soundcard '%s'\n", cardname);
|
||||||
free(cardname);
|
free(cardname);
|
||||||
}
|
}
|
||||||
if ((err = snd_pcm_open(&pcm_handle, card, dev, direction)) < 0) {
|
if ((err = snd_pcm_open(&pcm_handle, card, dev, direction)) < 0) {
|
||||||
|
|
Loading…
Reference in a new issue