]> git.alsa-project.org Git - alsa-tools.git/commitdiff
Added 'Using PCM device' message
authorJaroslav Kysela <perex@perex.cz>
Sat, 22 Dec 2001 21:24:56 +0000 (21:24 +0000)
committerJaroslav Kysela <perex@perex.cz>
Sat, 22 Dec 2001 21:24:56 +0000 (21:24 +0000)
ac3dec/output.c

index cfc060875973afc186f1872bae17a0beed0b61c1..541cfe655e073ea2f315c46f054964fff38310cb 100644 (file)
@@ -94,6 +94,8 @@ int output_open(output_t *output)
                }
                pcm_name = devstr;
        }
+       if (!output->quiet)
+               fprintf(stdout, "Using PCM device '%s'\n", pcm_name);
        if ((err = snd_pcm_open(&pcm, pcm_name, SND_PCM_STREAM_PLAYBACK, 0)) < 0) {
                fprintf(stderr, "snd_pcm_open: %s\n", snd_strerror(err));
                return err;