From 8b0cdffe09ac76008bbd2fe6573b54ffcc661404 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Tue, 6 Nov 2018 08:51:16 +0900 Subject: 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 --- aplay/aplay.1 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'aplay') 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. -- cgit v1.2.1