mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-23 04:06:30 +01:00
Use the right word in message of areacord
Use the word "stdin" instead of "stdout" when arecord is used.
This commit is contained in:
parent
2759c90a67
commit
3de280c6f4
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue