summaryrefslogtreecommitdiff
path: root/apps/codecs/aac.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/aac.c')
-rw-r--r--apps/codecs/aac.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/codecs/aac.c b/apps/codecs/aac.c
index 4695caab4a..7656c416fe 100644
--- a/apps/codecs/aac.c
+++ b/apps/codecs/aac.c
@@ -183,12 +183,8 @@ next_track:
183 183
184 /* Output the audio */ 184 /* Output the audio */
185 ci->yield(); 185 ci->yield();
186 while (!ci->pcmbuf_insert_split(decoder->time_out[0], 186 ci->pcmbuf_insert(decoder->time_out[0], decoder->time_out[1],
187 decoder->time_out[1], 187 frame_info.samples >> 1);
188 frame_info.samples * 2))
189 {
190 ci->sleep(1);
191 }
192 188
193 /* Update the elapsed-time indicator */ 189 /* Update the elapsed-time indicator */
194 sound_samples_done += sample_duration; 190 sound_samples_done += sample_duration;