mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 16:55:42 +01:00
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 <o-takashi@sakamocchi.jp> Reviewed-by: Daniel Baluta daniel.baluta@nxp.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
8b0cdffe09
commit
6c81444a52
1 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue