diff --git a/src/pcm/pcm_hw.c b/src/pcm/pcm_hw.c index dac2b065..f38470e0 100644 --- a/src/pcm/pcm_hw.c +++ b/src/pcm/pcm_hw.c @@ -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)