summaryrefslogtreecommitdiff
path: root/apps/codecs/mpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/mpc.c')
-rw-r--r--apps/codecs/mpc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/codecs/mpc.c b/apps/codecs/mpc.c
index db2501525e..207a63ce97 100644
--- a/apps/codecs/mpc.c
+++ b/apps/codecs/mpc.c
@@ -68,6 +68,8 @@ MPC_SAMPLE_FORMAT sample_buffer[MPC_FRAME_LENGTH*2] IBSS_ATTR;
68extern char iramcopy[]; 68extern char iramcopy[];
69extern char iramstart[]; 69extern char iramstart[];
70extern char iramend[]; 70extern char iramend[];
71extern char iedata[];
72extern char iend[];
71#endif 73#endif
72 74
73/* this is the codec entry point */ 75/* this is the codec entry point */
@@ -83,6 +85,7 @@ enum codec_status codec_start(struct codec_api *api)
83 TEST_CODEC_API(api); 85 TEST_CODEC_API(api);
84 #ifdef USE_IRAM 86 #ifdef USE_IRAM
85 ci->memcpy(iramstart, iramcopy, iramend - iramstart); 87 ci->memcpy(iramstart, iramcopy, iramend - iramstart);
88 ci->memset(iedata, 0, iend - iedata);
86 #endif 89 #endif
87 90
88 ci->configure(CODEC_DSP_ENABLE, (bool *)true); 91 ci->configure(CODEC_DSP_ENABLE, (bool *)true);