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
This commit is contained in:
Thom Johansen 2005-10-10 18:20:40 +00:00
parent 0f91ef7a37
commit 849c2bbd9f

View file

@ -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();
}