summaryrefslogtreecommitdiff
path: root/apps/codecs.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-07-04 13:37:52 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-07-04 13:37:52 +0000
commit3982f1e9322184de6bb15bbe8d04476d8bc11601 (patch)
treeb15642a5c1d6d1e3c8ed6b159ed7918f515e3d9e /apps/codecs.c
parentbf83ac624083af0c53fdc358df8270798831d8cb (diff)
Simulator: build recording code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27280 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs.c')
-rw-r--r--apps/codecs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/codecs.c b/apps/codecs.c
index 22e692c111..154faa3f3f 100644
--- a/apps/codecs.c
+++ b/apps/codecs.c
@@ -167,7 +167,7 @@ struct codec_api ci = {
__cyg_profile_func_exit,
#endif
-#if defined(HAVE_RECORDING) && !defined(SIMULATOR)
+#ifdef HAVE_RECORDING
false, /* stop_encoder */
0, /* enc_codec_loaded */
enc_get_inputs,
@@ -179,13 +179,13 @@ struct codec_api ci = {
/* file */
(open_func)PREFIX(open),
- close,
- (read_func)read,
+ PREFIX(close),
+ (read_func)PREFIX(read),
PREFIX(lseek),
- (write_func)write,
+ (write_func)PREFIX(write),
round_value_to_list32,
-#endif
+#endif /* HAVE_RECORDING */
/* new stuff at the end, sort into place next time
the API gets incompatible */