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 13b203e..dc6533d 100644
--- a/apps/codec_thread.c
+++ b/apps/codec_thread.c
@@ -475,7 +475,10 @@ static void codec_thread(void)
while (1) {
status = 0;
- if (!pcmbuf_is_crossfade_active()) {
+#ifdef HAVE_CROSSFADE
+ if (!pcmbuf_is_crossfade_active())
+#endif
+ {
cancel_cpu_boost();
}