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:
parent
557afd5f1e
commit
dad0011e31
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue