From: Takashi Sakamoto Date: Mon, 5 Nov 2018 23:57:48 +0000 (+0900) Subject: aplay: improve available conditions for '--samples' and '--duration' options X-Git-Tag: v1.1.8~63 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=6c81444a529d65c492b1fe9afd129463aadf2526;p=alsa-utils.git 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 --- 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.