alsa-utils/axfer/Makefile.am
Takashi Sakamoto 3266d71c0d axfer: add a sub-command to transfer data frames
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>
2018-11-13 12:04:33 +01:00

50 lines
711 B
Makefile

bin_PROGRAMS = \
axfer
# To include headers for gettext and version.
AM_CPPFLAGS = \
-I$(top_srcdir)/include
# Unit tests.
SUBDIRS = \
test
LIBRT = @LIBRT@
LDADD = \
$(LIBINTL) \
$(LIBRT)
noinst_HEADERS = \
misc.h \
subcmd.h \
container.h \
mapper.h \
xfer.h \
xfer-libasound.h \
frame-cache.h
axfer_SOURCES = \
misc.h \
subcmd.h \
main.c \
subcmd-list.c \
container.h \
container.c \
container-riff-wave.c \
container-au.c \
container-voc.c \
container-raw.c \
mapper.h \
mapper.c \
mapper-single.c \
mapper-multiple.c \
xfer.h \
xfer.c \
xfer-options.c \
xfer-libasound.h \
xfer-libasound.c \
frame-cache.h \
frame-cache.c \
xfer-libasound-irq-rw.c \
subcmd-transfer.c