summaryrefslogtreecommitdiff
path: root/apps/recorder/recording.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r--apps/recorder/recording.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index ff002d7685..118965d496 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -535,7 +535,8 @@ int rec_create_directory(void)
535 535
536#if CONFIG_CODEC == SWCODEC && !defined(SIMULATOR) 536#if CONFIG_CODEC == SWCODEC && !defined(SIMULATOR)
537 537
538#ifdef HAVE_ADJUSTABLE_CPU_FREQ 538# ifdef HAVE_SPDIF_IN
539# ifdef HAVE_ADJUSTABLE_CPU_FREQ
539static void rec_boost(bool state) 540static void rec_boost(bool state)
540{ 541{
541 static bool cpu_boosted = false; 542 static bool cpu_boosted = false;
@@ -546,7 +547,8 @@ static void rec_boost(bool state)
546 cpu_boosted = state; 547 cpu_boosted = state;
547 } 548 }
548} 549}
549#endif 550# endif
551# endif
550 552
551/** 553/**
552 * Selects an audio source for recording or playback 554 * Selects an audio source for recording or playback