aplay: improve available conditions for '--samples' and '--duration' options

Either '--samples' ('-s') and '--duration' ('-d') option is available
exclusively, according to its semantics and actual implementation.

This commit improves description of manual at this point.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Reviewed-by: Daniel Baluta daniel.baluta@nxp.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Sakamoto 2018-11-06 08:57:48 +09:00 committed by Takashi Iwai
parent 8b0cdffe09
commit 6c81444a52

View file

@ -75,12 +75,14 @@ Valid values are 2000 through 192000 Hertz.
\fI\-d, \-\-duration=#\fP
Interrupt after # seconds.
A value of zero means infinity.
The default is zero, so if this option is omitted then the arecord process will run until it is killed.
The default is zero, so if this option is omitted then the record/playback process will run until it is killed.
Either '-d' or '-s' option is available exclusively.
.TP
\fI\-s, \-\-samples=#\fP
Interrupt after tranmission of # PCM frames.
A value of zero means infinity.
The default is zero, so if this options is omitted then the record/playback process will run until it is killed.
Either '-d' or '-s' option is available exclusively.
.TP
\fI\-M, \-\-mmap\fP
Use memory\-mapped (mmap) I/O mode for the audio stream.