From b71b46de4c0efa8e36f42c3a05d1dbe3aa0e4ea6 Mon Sep 17 00:00:00 2001 From: Abramo Bagnara Date: Sat, 26 Aug 2000 09:19:21 +0000 Subject: [PATCH] Fixed pcm_multi --- src/pcm/plugin/mmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pcm/plugin/mmap.c b/src/pcm/plugin/mmap.c index 8fead5a8..481fe8e8 100644 --- a/src/pcm/plugin/mmap.c +++ b/src/pcm/plugin/mmap.c @@ -188,7 +188,7 @@ static ssize_t mmap_playback_transfer(snd_pcm_plugin_t *plugin, } #endif - err = snd_pcm_mmap_frame_data(stream, frames); + err = snd_pcm_frame_data(stream, frames); if (err < 0) return err; if (snd_pcm_mmap_state(stream) == SND_PCM_STATE_PREPARED && @@ -216,7 +216,7 @@ static ssize_t mmap_capture_transfer(snd_pcm_plugin_t *plugin, stream = plugin->plug->slave; /* FIXME: not here the increment */ - err = snd_pcm_mmap_frame_data(stream, frames); + err = snd_pcm_frame_data(stream, frames); if (err < 0) return err; -- 2.47.1