mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 03:55:41 +01:00
d28f9def97
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> |
||
---|---|---|
.. | ||
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-mmap.c | ||
xfer-libasound-irq-rw.c | ||
xfer-libasound.c | ||
xfer-libasound.h | ||
xfer-options.c | ||
xfer.c | ||
xfer.h |