From 6c81444a529d65c492b1fe9afd129463aadf2526 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Tue, 6 Nov 2018 08:57:48 +0900 Subject: [PATCH] aplay: improve available conditions for '--samples' and '--duration' options 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 Reviewed-by: Daniel Baluta daniel.baluta@nxp.com Signed-off-by: Takashi Iwai --- aplay/aplay.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aplay/aplay.1 b/aplay/aplay.1 index 6c80379..72365cb 100644 --- a/aplay/aplay.1 +++ b/aplay/aplay.1 @@ -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. -- 2.47.1