From 3982f1e9322184de6bb15bbe8d04476d8bc11601 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sun, 4 Jul 2010 13:37:52 +0000 Subject: Simulator: build recording code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27280 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/codecs.c') 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 */ -- cgit v1.2.3