]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed typo
authorAbramo Bagnara <abramo@alsa-project.org>
Tue, 30 May 2000 11:40:22 +0000 (11:40 +0000)
committerAbramo Bagnara <abramo@alsa-project.org>
Tue, 30 May 2000 11:40:22 +0000 (11:40 +0000)
src/pcm/pcm_plug.c

index c9f6eb19c0b812a21d02e0faff691ebf018f46fd..a0a0c327f06e7c3ccd8eed30c6bc883a271eab3f 100644 (file)
@@ -617,7 +617,7 @@ static ssize_t snd_pcm_plug_stream_seek(snd_pcm_t *pcm, int stream, off_t offset
        ssize_t ret;
        snd_pcm_plug_t *plug = (snd_pcm_plug_t*) &pcm->private;
        if (snd_pcm_plug_direct(pcm, stream))
-               return snd_pcm_seek(plug->slave, stream, offset);
+               return snd_pcm_stream_seek(plug->slave, stream, offset);
        if (offset < 0) {
                offset = snd_pcm_plug_slave_size(pcm, stream, -offset);
                if (offset < 0)
@@ -628,7 +628,7 @@ static ssize_t snd_pcm_plug_stream_seek(snd_pcm_t *pcm, int stream, off_t offset
                if (offset < 0)
                        return offset;
        }
-       ret = snd_pcm_seek(plug->slave, stream, offset);
+       ret = snd_pcm_stream_seek(plug->slave, stream, offset);
        if (ret < 0)
                return ret;
        return snd_pcm_plug_client_size(pcm, stream, ret);