Use the right word in message of areacord

Use the word "stdin" instead of "stdout" when arecord is used.
This commit is contained in:
Takashi Iwai 2006-08-03 17:29:51 +02:00
parent 2759c90a67
commit 3de280c6f4

View file

@ -1922,10 +1922,12 @@ static void end_au(int fd)
static void header(int rtype, char *name)
{
if (!quiet_mode) {
if (! name)
name = (stream == SND_PCM_STREAM_PLAYBACK) ? "stdout" : "stdin";
fprintf(stderr, "%s %s '%s' : ",
(stream == SND_PCM_STREAM_PLAYBACK) ? _("Playing") : _("Recording"),
gettext(fmt_rec_table[rtype].what),
name ? name : "stdin");
name);
fprintf(stderr, "%s, ", snd_pcm_format_description(hwparams.format));
fprintf(stderr, _("Rate %d Hz, "), hwparams.rate);
if (hwparams.channels == 1)