[alsa-devel] Direct use of the DMA buffer?

Clemens Ladisch clemens at ladisch.de
Mon Feb 20 09:11:03 CET 2012


Pavel Hofman wrote:
> Please excuse my ignorance, but is it possible for an application to
> directly use/output to the DMA buffer allocated by the kernel in
> hw_params?

Set one of the SND_PCM_ACCESS_MMAP_* access types and then use
snd_pcm_mmap_begin/commit.


Regards,
Clemens


More information about the Alsa-devel mailing list