summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playback.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 6f9cec6..319f55a 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1233,7 +1233,11 @@ static void codec_thread(void)
while (1) {
status = 0;
- cancel_cpu_boost();
+
+ if (!pcmbuf_is_crossfade_active()) {
+ cancel_cpu_boost();
+ }
+
queue_wait(&codec_queue, &ev);
codec_requested_stop = false;