Quick fix for annoying musepack noise on track change bug. Proper fix coming Some Day Soon Now (tm). Thanks go out to David Bryant.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8305 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thom Johansen 2006-01-07 23:20:49 +00:00
parent 557afd5f1e
commit dad0011e31

View file

@ -81,10 +81,6 @@ enum codec_status codec_start(struct codec_api *api)
mpc_streaminfo info;
TEST_CODEC_API(api);
#ifdef USE_IRAM
ci->memcpy(iramstart, iramcopy, iramend - iramstart);
#endif
ci->configure(CODEC_DSP_ENABLE, (bool *)true);
ci->configure(DSP_DITHER, (bool *)false);
@ -107,6 +103,10 @@ enum codec_status codec_start(struct codec_api *api)
reader.data = ci;
next_track:
#ifdef USE_IRAM
ci->memcpy(iramstart, iramcopy, iramend - iramstart);
#endif
if (codec_init(api))
return CODEC_ERROR;