mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 03:15:41 +01:00
f5776e232c
In aplay, some options are available to stop data transmission by frame unit. This commit adds support for the options below: * --duration (-d) * For duration seconds. The number of data frames transferred in this * runtime is calculated by this value and sampling rate. * --samples (-s) * For the number of data frames to handle in this runtime. An original aplay has a similar option; '--max-file-time'. This option is used for capture data transmission to switch file to write data frame up to maximum number of frames which container format supports, instead of terminating. However, this may brings complicated file handling to this program. To reduce maintaining cost, this option is obsoleted. Additionally, a handler for SIGUSR1 Unix signal has similar feature to switch the file. For the same reason, the handler is also obsoleted. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
test | ||
container-au.c | ||
container-raw.c | ||
container-riff-wave.c | ||
container-voc.c | ||
container.c | ||
container.h | ||
frame-cache.c | ||
frame-cache.h | ||
main.c | ||
Makefile.am | ||
mapper-multiple.c | ||
mapper-single.c | ||
mapper.c | ||
mapper.h | ||
misc.h | ||
subcmd-list.c | ||
subcmd-transfer.c | ||
subcmd.h | ||
xfer-libasound-irq-rw.c | ||
xfer-libasound.c | ||
xfer-libasound.h | ||
xfer-options.c | ||
xfer.c | ||
xfer.h |