summaryrefslogtreecommitdiff
path: root/apps/codec_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codec_thread.c')
-rw-r--r--apps/codec_thread.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/codec_thread.c b/apps/codec_thread.c
index 13b203ee30..dc6533dfc9 100644
--- a/apps/codec_thread.c
+++ b/apps/codec_thread.c
@@ -475,7 +475,10 @@ static void codec_thread(void)
475 while (1) { 475 while (1) {
476 status = 0; 476 status = 0;
477 477
478 if (!pcmbuf_is_crossfade_active()) { 478#ifdef HAVE_CROSSFADE
479 if (!pcmbuf_is_crossfade_active())
480#endif
481 {
479 cancel_cpu_boost(); 482 cancel_cpu_boost();
480 } 483 }
481 484