summaryrefslogtreecommitdiff
path: root/firmware/pcm_playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/pcm_playback.c')
-rw-r--r--firmware/pcm_playback.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c
index ce59faaf56..17350edfb5 100644
--- a/firmware/pcm_playback.c
+++ b/firmware/pcm_playback.c
@@ -184,19 +184,6 @@ void pcm_play_data(void (*get_more)(unsigned char** start, long* size))
184 184
185 callback_for_more = get_more; 185 callback_for_more = get_more;
186 186
187 /** FIXME: This is a temporary fix to prevent playback glitches when
188 * playing the first file. We will just drop the first frame to prevent
189 * that problem from occurring.
190 * Some debug data:
191 * - This problem will occur only when the first file.
192 * - First frame will be totally corrupt and the song will begin
193 * from the next frame. But at the next time (when the bug has
194 * already happened), the song will start from first frame.
195 * - Dropping some frames directly from (mpa) codec will also
196 * prevent the problem from happening. So it's unlikely you can
197 * find the explanation for this bug from this file.
198 */
199 get_more((unsigned char **)&start, (long *)&size); // REMOVE THIS TO TEST
200 get_more((unsigned char **)&start, (long *)&size); 187 get_more((unsigned char **)&start, (long *)&size);
201 get_more(&next_start, &next_size); 188 get_more(&next_start, &next_size);
202 dma_start(start, size); 189 dma_start(start, size);