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.c | |
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.c')
-rw-r--r-- | apps/codecs.c | 10 |
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 = { | |||
167 | __cyg_profile_func_exit, | 167 | __cyg_profile_func_exit, |
168 | #endif | 168 | #endif |
169 | 169 | ||
170 | #if defined(HAVE_RECORDING) && !defined(SIMULATOR) | 170 | #ifdef HAVE_RECORDING |
171 | false, /* stop_encoder */ | 171 | false, /* stop_encoder */ |
172 | 0, /* enc_codec_loaded */ | 172 | 0, /* enc_codec_loaded */ |
173 | enc_get_inputs, | 173 | enc_get_inputs, |
@@ -179,13 +179,13 @@ struct codec_api ci = { | |||
179 | 179 | ||
180 | /* file */ | 180 | /* file */ |
181 | (open_func)PREFIX(open), | 181 | (open_func)PREFIX(open), |
182 | close, | 182 | PREFIX(close), |
183 | (read_func)read, | 183 | (read_func)PREFIX(read), |
184 | PREFIX(lseek), | 184 | PREFIX(lseek), |
185 | (write_func)write, | 185 | (write_func)PREFIX(write), |
186 | round_value_to_list32, | 186 | round_value_to_list32, |
187 | 187 | ||
188 | #endif | 188 | #endif /* HAVE_RECORDING */ |
189 | 189 | ||
190 | /* new stuff at the end, sort into place next time | 190 | /* new stuff at the end, sort into place next time |
191 | the API gets incompatible */ | 191 | the API gets incompatible */ |