summaryrefslogtreecommitdiff
path: root/apps/codecs/mpa.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-08-21 18:12:31 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-08-21 18:12:31 +0000
commit8a7d104a359aec7776712cb366d1d92e0f0328a8 (patch)
tree0e90f0cf6300cfa4cc14b258f379920626b50d1c /apps/codecs/mpa.c
parent6e291fdcdffbccc4663fd90462a4f9fce107aed1 (diff)
downloadrockbox-8a7d104a359aec7776712cb366d1d92e0f0328a8.tar.gz
rockbox-8a7d104a359aec7776712cb366d1d92e0f0328a8.zip
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
Diffstat (limited to 'apps/codecs/mpa.c')
-rw-r--r--apps/codecs/mpa.c5
1 files changed, 4 insertions, 1 deletions
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)
177 goto next_track; 177 goto next_track;
178 } 178 }
179 ci->seek_time = 0; 179 ci->seek_time = 0;
180 if (newpos == 0) frame_skip = start_skip; 180 if (newpos == 0)
181 frame_skip = start_skip;
182 /* Optional but good thing to do. */
183 ci->seek_complete();
181 } 184 }
182 185
183 /* Lock buffers */ 186 /* Lock buffers */