]> git.alsa-project.org Git - alsa-utils.git/commitdiff
aplay: add a paragraph for '--samples' ('-s') option to aplay manual
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Nov 2018 23:51:16 +0000 (08:51 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 Nov 2018 15:03:25 +0000 (16:03 +0100)
A '--samples' ('-s') option was added so that record/playback process is
terminated after handling the same number of PCM frames as a value of the
option. However this option is not described in aplay manual.

This commit adds a paragraph for the option.

Fixes: 3d44e2bc159e ('aplay: Add samples argument for playing/recording a given number of samples')
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 fcafc7034425ffa9a50c1e1650db61c764c12a0f..6c80379b73a6b49ae1ae25f422b9bcc0fdbddc86 100644 (file)
@@ -77,6 +77,11 @@ 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.
 .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.
+.TP
 \fI\-M, \-\-mmap\fP            
 Use memory\-mapped (mmap) I/O mode for the audio stream.
 If this option is not set, the read/write I/O mode will be used.