alsa-utils/axfer
Takashi Sakamoto d28f9def97 axfer: add options for buffer arrangement
In ALSA PCM interface, two parameters are used for size of intermediate
buffer for data frames; period size and buffer size. Actual effects of
these sizes differs depending on hardware, but basically the size of
period is used for intervals of hardware interrupts and the size of buffer
is used to maintain the intermediate buffer as ring buffer. These
parameters can be configured as a part of hardware parameters by
data frame unit or micro second. PCM API in alsa-lib also includes
helper functions to configure them by the two units.

This commit adds support for options to the parameters by both units. When
no options are given, default values are applied according to current
aplay; available maximum size of buffer up to 500msec, a quarter of the
size of buffer for period size. However, these calculation should be
reconsidered somehow.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-11-13 12:04:47 +01:00
..
test axfer: add a unit test for mapper interface 2018-11-13 12:04:28 +01:00
container-au.c axfer: add support for a container of Sparc AU format 2018-11-13 12:04:23 +01:00
container-raw.c axfer: add support for a container of raw data 2018-11-13 12:04:25 +01:00
container-riff-wave.c axfer: add support for a container of Microsoft/IBM RIFF/Wave format 2018-11-13 12:04:22 +01:00
container-voc.c axfer: add support for a container of Creative Tech. voice format 2018-11-13 12:04:23 +01:00
container.c axfer: add support for a container of raw data 2018-11-13 12:04:25 +01:00
container.h axfer: add support for a container of raw data 2018-11-13 12:04:25 +01:00
frame-cache.c axfer: add support for blocking data transmission operation of alsa-lib PCM API 2018-11-13 12:04:32 +01:00
frame-cache.h axfer: add support for blocking data transmission operation of alsa-lib PCM API 2018-11-13 12:04:32 +01:00
main.c axfer: add a sub-command to transfer data frames 2018-11-13 12:04:33 +01:00
Makefile.am axfer: add support for MMAP PCM operation 2018-11-13 12:04:37 +01:00
mapper-multiple.c axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
mapper-single.c axfer: add support for a mapper for single target 2018-11-13 12:04:27 +01:00
mapper.c axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
mapper.h axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
misc.h axfer: add a parser for command-line options 2018-11-13 12:04:30 +01:00
subcmd-list.c axfer: add a sub-command to print list of PCMs/devices 2018-11-13 12:04:20 +01:00
subcmd-transfer.c axfer: add options related to duration and obsolete '--max-file-size' option 2018-11-13 12:04:35 +01:00
subcmd.h axfer: add a sub-command to transfer data frames 2018-11-13 12:04:33 +01:00
xfer-libasound-irq-mmap.c axfer: add an option to suppress event waiting 2018-11-13 12:04:37 +01:00
xfer-libasound-irq-rw.c axfer: add an option to suppress event waiting 2018-11-13 12:04:37 +01:00
xfer-libasound.c axfer: add options for buffer arrangement 2018-11-13 12:04:47 +01:00
xfer-libasound.h axfer: add options for buffer arrangement 2018-11-13 12:04:47 +01:00
xfer-options.c axfer: add options for buffer arrangement 2018-11-13 12:04:47 +01:00
xfer.c axfer: add support to transfer data frames by alsa-lib PCM APIs 2018-11-13 12:04:31 +01:00
xfer.h axfer: add options related to duration and obsolete '--max-file-size' option 2018-11-13 12:04:35 +01:00