mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 03:35:42 +01:00
c2f79d9fdf
In alsa-lib PCM API, snd_pcm_read[i|n]() and snd_pcm_write[i|n]() are used to transfer data frames from/to hardware. When a handler is not opened with specific flags, these functions perform blocking operation; i.e. the function call doesn't return till all of request number of data frames are actually handled, or call is interrupted by Unix signals, or PCM substeam corrupts due to hardware reasons. This commit adds support for this type of data transmission. For cases that requested data frames are not processed by container interface, this commit adds internal cache mechanism to handle rest of data frames in next timing. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
48 lines
690 B
Makefile
48 lines
690 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
|