From 0f1d44dba2e83776fa40cd607102f968d1ef79a8 Mon Sep 17 00:00:00 2001 From: Lorenzo Miori Date: Wed, 2 Oct 2013 23:09:52 +0200 Subject: 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 --- lib/rbcodec/codecs/codecs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3