]> git.alsa-project.org Git - alsa-utils.git/commit
axfer: add support to transfer data frames by alsa-lib PCM APIs
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 13 Nov 2018 06:41:27 +0000 (15:41 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Nov 2018 11:04:31 +0000 (12:04 +0100)
commitae7346d110a5dd7b2670bf4aa8737936a826bc7a
tree213e5f1ec4e9dad3ee7f4c7d85d42a6c41770384
parentb83a8cd3be8b9d0c4772711a8f7ee10d662a1650
axfer: add support to transfer data frames by alsa-lib PCM APIs

This commit adds support fo alsa-lib PCM API as a backend of 'xfer'
module. In a set of alsa-lib PCM API, there're two ways to handle data
frames; by calling ioctl(2) with some specific commands with buffer in
user space, or copying data frames on mapped page frames. To support
both ways, this commit adds an operation structure as abstraction.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
axfer/Makefile.am
axfer/xfer-libasound.c [new file with mode: 0644]
axfer/xfer-libasound.h [new file with mode: 0644]
axfer/xfer.c
axfer/xfer.h