OSDN Git Service

pcm:mmap_emul: Fix sw_params and others in bypass mode
authorTakashi Iwai <tiwai@suse.de>
Mon, 14 Nov 2011 16:02:40 +0000 (17:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 Nov 2011 06:58:35 +0000 (07:58 +0100)
commitf562b032be770b915166f888543c9f6e06b26544
treea71fb1b7da7c6a751bee833b7bf437c5fafe8146
parent15c6f832968c1f69a7c744f7051e4fc622acd62f
pcm:mmap_emul: Fix sw_params and others in bypass mode

When the slave doesn't need any mmap-emulation, the plugin shouldn't do
anything special in sw_params and other callbacks but just pass to the
generic helpers and update hwptr and applptr.

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