mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 03:35:42 +01:00
b5d2fadfb1
In alsa-lib PCM API, data frames can be handled in mapped page frame, instead of calling any system calls. This commit support for this type of operation. To reduce CPU usage, this commit uses 'snd_pcm_wait()' to wait for event notification. Below lines are examples to execute: $ axfer transfer -M -P -d 2 -D hw:0,3 /dev/urandom -f dat -vvv $ axfer transfer -M -C -d 2 -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>
50 lines
740 B
Makefile
50 lines
740 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 \
|
|
xfer-libasound-irq-mmap.c
|