From 2374c70bcaa79a935a1de6ba9dadd9c8ae2fc335 Mon Sep 17 00:00:00 2001 From: Abramo Bagnara Date: Mon, 2 Apr 2001 16:35:31 +0000 Subject: [PATCH] Fixed returned value --- src/pcm/pcm_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.1