summaryrefslogtreecommitdiff
path: root/apps/codecs/mpa.c
diff options
context:
space:
mode:
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)
119 first_frame = false; 119 first_frame = false;
120 file_end = 0; 120 file_end = 0;
121 OutputPtr = OutputBuffer; 121 OutputPtr = OutputBuffer;
122 frequency_divider = ci->id3->frequency / 100;
123 122
124 while (!*ci->taginfo_ready) 123 while (!*ci->taginfo_ready)
125 ci->yield(); 124 ci->yield();
126 125
126 frequency_divider = ci->id3->frequency / 100;
127 ci->configure(DSP_SET_FREQUENCY, (int *)ci->id3->frequency); 127 ci->configure(DSP_SET_FREQUENCY, (int *)ci->id3->frequency);
128 128
129 ci->request_buffer(&size, ci->id3->first_frame_offset); 129 ci->request_buffer(&size, ci->id3->first_frame_offset);