summaryrefslogtreecommitdiff
path: root/apps/codecs/mpa.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-07-05 15:19:22 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-07-05 15:19:22 +0000
commitd6e79424264147e52f70d9ed34b80e34a9d3c23b (patch)
tree712837474fee23ce550636480f797c45e3829b4c /apps/codecs/mpa.c
parent2d79df5086a3c632ef09bc273c201a8443a7c4a2 (diff)
Fixed: Crossfading, broken elapsed info with mp3 files, possible cpu
boost problem and track changing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7027 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/mpa.c')
-rw-r--r--apps/codecs/mpa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c
index a52dc12a40..df78b07247 100644
--- a/apps/codecs/mpa.c
+++ b/apps/codecs/mpa.c
@@ -119,11 +119,11 @@ enum codec_status codec_start(struct codec_api* api)
first_frame = false;
file_end = 0;
OutputPtr = OutputBuffer;
- frequency_divider = ci->id3->frequency / 100;
while (!*ci->taginfo_ready)
ci->yield();
+ frequency_divider = ci->id3->frequency / 100;
ci->configure(DSP_SET_FREQUENCY, (int *)ci->id3->frequency);
ci->request_buffer(&size, ci->id3->first_frame_offset);