diff options
author | Lorenzo Miori <memorys60@gmail.com> | 2013-10-02 23:09:52 +0200 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2013-10-05 12:25:13 +0200 |
commit | 0f1d44dba2e83776fa40cd607102f968d1ef79a8 (patch) | |
tree | 4ec3b9b2b2a46d4f6a858b8f7d6bb5d8c4330975 | |
parent | 2e0a3fc5cea152d12576325b8ed26d7cc0fd485c (diff) | |
download | rockbox-0f1d44dba2e83776fa40cd607102f968d1ef79a8.tar.gz rockbox-0f1d44dba2e83776fa40cd607102f968d1ef79a8.zip |
Simulator - encoders can now be loaded
This enables the encoders - i.e. to record audio -
to be loaded also on the simulator.
Change-Id: I54fdbeb75b89023c0d7824a34cf76301c02c3150
Reviewed-on: http://gerrit.rockbox.org/632
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
-rw-r--r-- | lib/rbcodec/codecs/codecs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/codecs.h b/lib/rbcodec/codecs/codecs.h index 672b1ded53..4ac5d283dd 100644 --- a/lib/rbcodec/codecs/codecs.h +++ b/lib/rbcodec/codecs/codecs.h | |||
@@ -258,7 +258,8 @@ extern unsigned char plugin_end_addr[]; | |||
258 | codec_start, codec_run, &ci }; | 258 | codec_start, codec_run, &ci }; |
259 | /* encoders */ | 259 | /* encoders */ |
260 | #define CODEC_ENC_HEADER \ | 260 | #define CODEC_ENC_HEADER \ |
261 | const struct codec_header __header = { \ | 261 | const struct codec_header __header \ |
262 | __attribute__((visibility("default"))) = { \ | ||
262 | { CODEC_ENC_MAGIC, TARGET_ID, CODEC_API_VERSION, NULL, NULL }, \ | 263 | { CODEC_ENC_MAGIC, TARGET_ID, CODEC_API_VERSION, NULL, NULL }, \ |
263 | codec_start, codec_run, &ci, { enc_callback } }; | 264 | codec_start, codec_run, &ci, { enc_callback } }; |
264 | #endif /* SIMULATOR */ | 265 | #endif /* SIMULATOR */ |