diff options
Diffstat (limited to 'apps/plugins/mpa2wav.c')
-rw-r--r-- | apps/plugins/mpa2wav.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/mpa2wav.c b/apps/plugins/mpa2wav.c index 6c28100800..5ef6351a85 100644 --- a/apps/plugins/mpa2wav.c +++ b/apps/plugins/mpa2wav.c | |||
@@ -28,9 +28,9 @@ | |||
28 | 28 | ||
29 | static struct plugin_api* rb; | 29 | static struct plugin_api* rb; |
30 | 30 | ||
31 | struct mad_stream Stream __attribute__ ((section(".idata"))); | 31 | struct mad_stream Stream IDATA_ATTR; |
32 | struct mad_frame Frame __attribute__ ((section(".idata"))); | 32 | struct mad_frame Frame IDATA_ATTR; |
33 | struct mad_synth Synth __attribute__ ((section(".idata"))); | 33 | struct mad_synth Synth IDATA_ATTR; |
34 | mad_timer_t Timer; | 34 | mad_timer_t Timer; |
35 | struct dither d0, d1; | 35 | struct dither d0, d1; |
36 | 36 | ||
@@ -130,7 +130,7 @@ unsigned char *OutputPtr=OutputBuffer; | |||
130 | unsigned char *GuardPtr=NULL; | 130 | unsigned char *GuardPtr=NULL; |
131 | const unsigned char *OutputBufferEnd=OutputBuffer+OUTPUT_BUFFER_SIZE; | 131 | const unsigned char *OutputBufferEnd=OutputBuffer+OUTPUT_BUFFER_SIZE; |
132 | 132 | ||
133 | #ifndef SIMULATOR | 133 | #ifdef USE_IRAM |
134 | extern char iramcopy[]; | 134 | extern char iramcopy[]; |
135 | extern char iramstart[]; | 135 | extern char iramstart[]; |
136 | extern char iramend[]; | 136 | extern char iramend[]; |
@@ -151,7 +151,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file) | |||
151 | TEST_PLUGIN_API(api); | 151 | TEST_PLUGIN_API(api); |
152 | rb = api; | 152 | rb = api; |
153 | 153 | ||
154 | #ifndef SIMULATOR | 154 | #ifdef USE_IRAM |
155 | rb->memcpy(iramstart, iramcopy, iramend-iramstart); | 155 | rb->memcpy(iramstart, iramcopy, iramend-iramstart); |
156 | #endif | 156 | #endif |
157 | 157 | ||