]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed returned value
authorAbramo Bagnara <abramo@alsa-project.org>
Mon, 2 Apr 2001 16:35:31 +0000 (16:35 +0000)
committerAbramo Bagnara <abramo@alsa-project.org>
Mon, 2 Apr 2001 16:35:31 +0000 (16:35 +0000)
src/pcm/pcm_hw.c

index dac2b065efac175fe6c3048de1f28b546cc39a73..f38470e0448070e70221339f4accc9282f973998 100644 (file)
@@ -298,7 +298,7 @@ static snd_pcm_sframes_t snd_pcm_hw_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t fra
                SYSERR("SNDRV_PCM_IOCTL_REWIND failed");
                return -errno;
        }
-       return 0;
+       return frames;
 }
 
 static snd_pcm_sframes_t snd_pcm_hw_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size)