summaryrefslogtreecommitdiff
path: root/apps/codecs.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs.h')
-rw-r--r--apps/codecs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs.h b/apps/codecs.h
index c3dbc4a..c7bd1a8 100644
--- a/apps/codecs.h
+++ b/apps/codecs.h
@@ -44,7 +44,7 @@
#include "thread.h"
#endif
#if (CONFIG_CODEC == SWCODEC)
-#if !defined(SIMULATOR) && defined(HAVE_RECORDING)
+#ifdef HAVE_RECORDING
#include "pcm_record.h"
#endif
#include "dsp.h"
@@ -213,7 +213,7 @@ struct codec_api {
void (*profile_func_exit)(void *this_fn, void *call_site);
#endif
-#if defined(HAVE_RECORDING) && !defined(SIMULATOR)
+#ifdef HAVE_RECORDING
volatile bool stop_encoder;
volatile int enc_codec_loaded; /* <0=error, 0=pending, >0=ok */
void (*enc_get_inputs)(struct enc_inputs *inputs);