mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
2e0a3fc5ce
commit
0f1d44dba2
1 changed files with 2 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue