From c78b019944a1e79116855355a10f120be52668ff Mon Sep 17 00:00:00 2001 From: Dave Bryant Date: Sun, 8 Jan 2006 08:38:18 +0000 Subject: I figured out what was *really* causing the MPC track-change noise, so I backed out Thom's change and made the appropriate change. Note that this should not fix the track change *pop* because there still seems to be a problem decoding the first and last several hundred samples of MPC files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8306 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/mpc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/codecs/mpc.c') diff --git a/apps/codecs/mpc.c b/apps/codecs/mpc.c index 2d2aa6ed66..db2501525e 100644 --- a/apps/codecs/mpc.c +++ b/apps/codecs/mpc.c @@ -81,6 +81,10 @@ 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); @@ -103,10 +107,6 @@ 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; -- cgit v1.2.3