summaryrefslogtreecommitdiff
path: root/apps/plugins/mpa2wav.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpa2wav.c')
-rw-r--r--apps/plugins/mpa2wav.c10
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
29static struct plugin_api* rb; 29static struct plugin_api* rb;
30 30
31struct mad_stream Stream __attribute__ ((section(".idata"))); 31struct mad_stream Stream IDATA_ATTR;
32struct mad_frame Frame __attribute__ ((section(".idata"))); 32struct mad_frame Frame IDATA_ATTR;
33struct mad_synth Synth __attribute__ ((section(".idata"))); 33struct mad_synth Synth IDATA_ATTR;
34mad_timer_t Timer; 34mad_timer_t Timer;
35struct dither d0, d1; 35struct dither d0, d1;
36 36
@@ -130,7 +130,7 @@ unsigned char *OutputPtr=OutputBuffer;
130unsigned char *GuardPtr=NULL; 130unsigned char *GuardPtr=NULL;
131const unsigned char *OutputBufferEnd=OutputBuffer+OUTPUT_BUFFER_SIZE; 131const unsigned char *OutputBufferEnd=OutputBuffer+OUTPUT_BUFFER_SIZE;
132 132
133#ifndef SIMULATOR 133#ifdef USE_IRAM
134extern char iramcopy[]; 134extern char iramcopy[];
135extern char iramstart[]; 135extern char iramstart[];
136extern char iramend[]; 136extern 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