From 8a7d104a359aec7776712cb366d1d92e0f0328a8 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sun, 21 Aug 2005 18:12:31 +0000 Subject: Now codecs will do the buffer flushing after seeking as they find it necessary. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7369 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/mpa.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/codecs') diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index 8cc3398ca4..8bfe376818 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c @@ -177,7 +177,10 @@ enum codec_status codec_start(struct codec_api* api) goto next_track; } ci->seek_time = 0; - if (newpos == 0) frame_skip = start_skip; + if (newpos == 0) + frame_skip = start_skip; + /* Optional but good thing to do. */ + ci->seek_complete(); } /* Lock buffers */ -- cgit v1.2.3