]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed pcm_multi
authorAbramo Bagnara <abramo@alsa-project.org>
Sat, 26 Aug 2000 09:19:21 +0000 (09:19 +0000)
committerAbramo Bagnara <abramo@alsa-project.org>
Sat, 26 Aug 2000 09:19:21 +0000 (09:19 +0000)
src/pcm/plugin/mmap.c

index 8fead5a80ad84d27fa073584ee14fbde5858b1ae..481fe8e835f9b61cc47cd6ee09008f59f5a8386f 100644 (file)
@@ -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;