mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 03:25:43 +01:00
3266d71c0d
In current aplay, default action is to transfer data frames from/to devices. This commit adds support for this functionality. Event loop is included in an added file. In the loop, the number of handled data frames is manipulated by an appropriate way. As a result, users can stop data transmission frames by frame. Unlike aplay, when catching SIGSTP, this application performs to suspend PCM substream. When catching SIGCONT, it performs to resume the PCM substream. The aim of this design is to avoid XRUN state of the PCM substream. If users/developers need to any XRUN-recovery test, it's better to work for the other ways. Below lines are examples to execute: $ axfer transfer -P -D hw:0,3 /dev/urandom -f dat -vvv $ axfer transfer -C -D hw:1,0 /dev/null -r 48000 -vvv 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 |