diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-07-04 13:37:52 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-07-04 13:37:52 +0000 |
commit | 3982f1e9322184de6bb15bbe8d04476d8bc11601 (patch) | |
tree | b15642a5c1d6d1e3c8ed6b159ed7918f515e3d9e /apps/codecs.h | |
parent | bf83ac624083af0c53fdc358df8270798831d8cb (diff) | |
download | rockbox-3982f1e9322184de6bb15bbe8d04476d8bc11601.tar.gz rockbox-3982f1e9322184de6bb15bbe8d04476d8bc11601.zip |
Simulator: build recording code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27280 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs.h')
-rw-r--r-- | apps/codecs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index c3dbc4aaa3..c7bd1a87d0 100644 --- a/apps/codecs.h +++ b/apps/codecs.h | |||
@@ -44,7 +44,7 @@ | |||
44 | #include "thread.h" | 44 | #include "thread.h" |
45 | #endif | 45 | #endif |
46 | #if (CONFIG_CODEC == SWCODEC) | 46 | #if (CONFIG_CODEC == SWCODEC) |
47 | #if !defined(SIMULATOR) && defined(HAVE_RECORDING) | 47 | #ifdef HAVE_RECORDING |
48 | #include "pcm_record.h" | 48 | #include "pcm_record.h" |
49 | #endif | 49 | #endif |
50 | #include "dsp.h" | 50 | #include "dsp.h" |
@@ -213,7 +213,7 @@ struct codec_api { | |||
213 | void (*profile_func_exit)(void *this_fn, void *call_site); | 213 | void (*profile_func_exit)(void *this_fn, void *call_site); |
214 | #endif | 214 | #endif |
215 | 215 | ||
216 | #if defined(HAVE_RECORDING) && !defined(SIMULATOR) | 216 | #ifdef HAVE_RECORDING |
217 | volatile bool stop_encoder; | 217 | volatile bool stop_encoder; |
218 | volatile int enc_codec_loaded; /* <0=error, 0=pending, >0=ok */ | 218 | volatile int enc_codec_loaded; /* <0=error, 0=pending, >0=ok */ |
219 | void (*enc_get_inputs)(struct enc_inputs *inputs); | 219 | void (*enc_get_inputs)(struct enc_inputs *inputs); |