From: Takashi Sakamoto Date: Mon, 5 Nov 2018 23:51:16 +0000 (+0900) Subject: aplay: add a paragraph for '--samples' ('-s') option to aplay manual X-Git-Tag: v1.1.8~64 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=8b0cdffe09ac76008bbd2fe6573b54ffcc661404;p=alsa-utils.git 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 Reviewed-by: Daniel Baluta daniel.baluta@nxp.com Signed-off-by: Takashi Iwai --- 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.