summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/recorder/recording.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index da0a4a9..065f9ae 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -361,9 +361,11 @@ bool recording_screen(void)
peak_meter_playback(false);
#ifdef HAVE_SPDIF_IN
+#ifndef SIMULATOR
if (global_settings.rec_source == SOURCE_SPDIF)
cpu_boost(true);
#endif
+#endif
#else
/* Yes, we use the D/A for monitoring */
@@ -1014,9 +1016,11 @@ if (global_settings.rec_source == SOURCE_SPDIF)
audio_close_recording();
#ifdef HAVE_SPDIF_IN
+#ifndef SIMULATOR
if (global_settings.rec_source == SOURCE_SPDIF)
cpu_boost(false);
#endif
+#endif
#else
audio_init_playback();