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[]; codec_start, codec_run, &ci }; /* encoders */ #define CODEC_ENC_HEADER \ - const struct codec_header __header = { \ + const struct codec_header __header \ + __attribute__((visibility("default"))) = { \ { CODEC_ENC_MAGIC, TARGET_ID, CODEC_API_VERSION, NULL, NULL }, \ codec_start, codec_run, &ci, { enc_callback } }; #endif /* SIMULATOR */ |