diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2018-11-06 08:51:16 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-11-08 16:03:25 +0100 |
commit | 8b0cdffe09ac76008bbd2fe6573b54ffcc661404 (patch) | |
tree | 4f9e3b2eb17eb34ab69742f6049d320f14bceb02 /aplay | |
parent | f79082df38321da5c38f17bacd26d9dc02ac5bbd (diff) | |
download | alsa-utils-8b0cdffe09ac76008bbd2fe6573b54ffcc661404.tar.gz |
aplay: add a paragraph for '--samples' ('-s') option to aplay manual
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>
Diffstat (limited to 'aplay')
-rw-r--r-- | aplay/aplay.1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/aplay/aplay.1 b/aplay/aplay.1 index fcafc70..6c80379 100644 --- a/aplay/aplay.1 +++ b/aplay/aplay.1 @@ -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. |