summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 6f9cec682c..319f55a0ce 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1233,7 +1233,11 @@ static void codec_thread(void)
1233 1233
1234 while (1) { 1234 while (1) {
1235 status = 0; 1235 status = 0;
1236 cancel_cpu_boost(); 1236
1237 if (!pcmbuf_is_crossfade_active()) {
1238 cancel_cpu_boost();
1239 }
1240
1237 queue_wait(&codec_queue, &ev); 1241 queue_wait(&codec_queue, &ev);
1238 codec_requested_stop = false; 1242 codec_requested_stop = false;
1239 1243