]> git.alsa-project.org Git - alsa-lib.git/commit
Fix softvol access refine
authorTakashi Iwai <tiwai@suse.de>
Thu, 4 Dec 2008 14:21:40 +0000 (15:21 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Dec 2008 15:01:22 +0000 (16:01 +0100)
commit48e4d089dc68ad29267fe6b9c7efc4a66611aeda
tree95737eaebd448841c123cf60c62632ae9991f875
parentc0fd854ff1d137a0658d850f43cece48e73ff01a
Fix softvol access refine

The commit a13707da6bb0161db855a146c3e4d1d849e4108b

    pcm_softvol plugin: remove access type change for refine

breaks the softvol in the case of RW -> MMAP.  The slave of softvol
must be an mmap although the previous fix forces RW access.

This patch reverts the commit, and the fixed access refine method
to hanle non-interleaved <-> interleaved changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_softvol.c