]> git.alsa-project.org Git - alsa-lib.git/commit
pcm - fix the buffer allocation for NONINTERLEAVED mmap access
authorJaroslav Kysela <perex@perex.cz>
Mon, 2 Jan 2006 12:16:59 +0000 (12:16 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 2 Jan 2006 12:16:59 +0000 (12:16 +0000)
commitb08e01ca9e673ef28f9455634291f51149ae0b9c
tree8a0f0e4102e6b58816f0a9ca2dfc6d3a5c368f4f
parent2f65643c1c7460779b7e88a84b31209c2a302db0
pcm - fix the buffer allocation for NONINTERLEAVED mmap access

The previous code did not allocated a separate buffer for all channels
when a NONINTERLEAVED access was used. The result was that only one
"shared" buffer was incorrectly allocated.

Also, the code was a bit cleaned (cosmetic change only).
src/pcm/pcm_mmap.c