summaryrefslogtreecommitdiff
path: root/apps/codecs/wav.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/wav.c')
-rw-r--r--apps/codecs/wav.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/codecs/wav.c b/apps/codecs/wav.c
index 85e24124ab..e86b559caa 100644
--- a/apps/codecs/wav.c
+++ b/apps/codecs/wav.c
@@ -94,6 +94,8 @@ enum
94extern char iramcopy[]; 94extern char iramcopy[];
95extern char iramstart[]; 95extern char iramstart[];
96extern char iramend[]; 96extern char iramend[];
97extern char iedata[];
98extern char iend[];
97#endif 99#endif
98 100
99/* Those are lookup tables, so they should be in the idata section 101/* Those are lookup tables, so they should be in the idata section
@@ -235,6 +237,7 @@ enum codec_status codec_start(struct codec_api* api)
235 237
236#ifdef USE_IRAM 238#ifdef USE_IRAM
237 ci->memcpy(iramstart, iramcopy, iramend-iramstart); 239 ci->memcpy(iramstart, iramcopy, iramend-iramstart);
240 ci->memset(iedata, 0, iend - iedata);
238#endif 241#endif
239 242
240 ci->configure(CODEC_SET_FILEBUF_WATERMARK, (int *)(1024*512)); 243 ci->configure(CODEC_SET_FILEBUF_WATERMARK, (int *)(1024*512));