]> git.alsa-project.org Git - alsa-utils.git/commitdiff
aplay: improve available conditions for '--samples' and '--duration' options
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Nov 2018 23:57:48 +0000 (08:57 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 Nov 2018 15:03:32 +0000 (16:03 +0100)
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>
aplay/aplay.1

index 6c80379b73a6b49ae1ae25f422b9bcc0fdbddc86..72365cbcef2c74163a7d13dfdf3b993a7321fe0a 100644 (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.