[alsa-devel] performance between access mothods!

Guilherme Longo grlongo.ireland at gmail.com
Sun Jul 5 14:03:23 CEST 2009


Hi all!

I came across a doubt regarding the the access mode between application 
and PCM device.
It is a hardware parameter related property and there are 5 different 
types available:

SND_PCM_ACCESS_MMAP_INTERLEAVED
SND_PCM_ACCESS_MMAP_NONINTERLEAVED
SND_PCM_ACCESS_MMAP_COMPLEX
SND_PCM_ACCESS_RW_INTERLEAVED
SND_PCM_ACCESS_RW_NONINTERLEAVED

taking in account that these first 3 parameters has direct communication 
with the memory, that means a higher speed operation? And the fact of 
the interleaved has all the samples mixed together , makes any 
difference in performance in comparison to the noninterleaved that has 
samples stored on different buffers?

Thanks in advanced


More information about the Alsa-devel mailing list