summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-10-16 06:19:23 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-10-16 06:19:23 +0000
commiteb04a53830d249ce45ccc381a55af211d2032b91 (patch)
treed4a62b6d5040d7931c29ac35d9af9718b59abc85 /apps
parent84d2f0e02953bac6b32dcd324edb8e28a52c1244 (diff)
downloadrockbox-eb04a53830d249ce45ccc381a55af211d2032b91.tar.gz
rockbox-eb04a53830d249ce45ccc381a55af211d2032b91.tar.bz2
rockbox-eb04a53830d249ce45ccc381a55af211d2032b91.zip
Fixed the pops with musepack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7632 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/mpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/mpc.c b/apps/codecs/mpc.c
index 2b4830d6f4..fd551caf7d 100644
--- a/apps/codecs/mpc.c
+++ b/apps/codecs/mpc.c
@@ -87,7 +87,7 @@ enum codec_status codec_start(struct codec_api *api)
ci->configure(CODEC_DSP_ENABLE, (bool *)true);
ci->configure(DSP_DITHER, (bool *)false);
- ci->configure(DSP_SET_SAMPLE_DEPTH, (long *)(MPC_FIXED_POINT_SCALE_SHIFT - 1));
+ ci->configure(DSP_SET_SAMPLE_DEPTH, (long *)(MPC_FIXED_POINT_SCALE_SHIFT));
ci->configure(DSP_SET_CLIP_MAX, (long *)MPC_FIXED_POINT_SCALE);
ci->configure(DSP_SET_CLIP_MIN, (long *)-MPC_FIXED_POINT_SCALE);
ci->configure(CODEC_SET_FILEBUF_LIMIT, (long *)(1024*1024*2));