1
0
Fork 0
forked from len0rd/rockbox

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>
This commit is contained in:
Lorenzo Miori 2013-10-02 23:09:52 +02:00 committed by Thomas Martitz
parent 2e0a3fc5ce
commit 0f1d44dba2

View file

@ -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 */