From 849c2bbd9f5b489160f3de41e87af50b5a3fe414 Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Mon, 10 Oct 2005 18:20:40 +0000 Subject: [PATCH] seek_time should be reset here, not in each codec, as is currently done. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7610 a1c6a512-1295-4272-9138-f99709370657 --- apps/playback.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/playback.c b/apps/playback.c index 6a6461ce97..9de87782c8 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -633,6 +633,8 @@ off_t codec_mp3_get_filepos_callback(int newtime) void codec_seek_complete_callback(void) { + /* assume we're called from non-voice codec, as they shouldn't seek */ + ci.seek_time = 0; pcmbuf_flush_audio(); }