]> git.alsa-project.org Git - alsa-plugins.git/commit
aaf: Add support for direct read/write transfers
authorAndre Guedes <andre.guedes@intel.com>
Thu, 25 Oct 2018 01:11:16 +0000 (18:11 -0700)
committerJaroslav Kysela <perex@perex.cz>
Thu, 25 Oct 2018 06:09:02 +0000 (08:09 +0200)
commit76c5784feaf6287d99ce0085b984e8521b464131
tree97b42bb7b5a1a56f0cc1ad485a8537ea032eee70
parent4cb1587b79e8d2e7a3a88c84b23571783d9264a3
aaf: Add support for direct read/write transfers

This patch adds support for direct read/write transfers (i.e. mmap
access mode) to the AAF plugin.

In order to enable direct read/write transfers, the AAF plugin is
required to implement ioplug's pseudo mmap mode. In this mode, the audio
buffer management (e.g. areas allocation, clean up, and data copy) is
handled at upper layers, making the AAF plugin simpler. So this patch
removes all code related to audio buffer management as well as the
transfer() callback from the AAF plugin.

Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
aaf/pcm_aaf.c