]> git.alsa-project.org Git - alsa-lib.git/commit
Fix plug conversion with mmap emulation
authorTakashi Iwai <tiwai@suse.de>
Tue, 27 Jan 2009 16:21:34 +0000 (17:21 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 Jan 2009 16:21:34 +0000 (17:21 +0100)
commitd3a8e853fb0780ecf85b54eba0926698970b3934
tree3cffe85b7fbaa7ded9b67445a684be4ed414a01e
parent777a869769f064c84ef38211c090f31bda169129
Fix plug conversion with mmap emulation

If the slave PCM supports only another type of interleaved format,
plug did convert it wrongly and resulted in an unused access type
error.  For example, if a slave PCM supporst only RW_NONINTERLEAVE
access and you try to play an interleaved format file, it resulted
in an error.

This patch fixes the conversion rule.

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