summaryrefslogtreecommitdiff
path: root/apps/codecs/mpa.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2006-10-27 20:41:33 +0000
committerThom Johansen <thomj@rockbox.org>2006-10-27 20:41:33 +0000
commit354770088e87c3aa8720f462fe3ac8368d7de5b5 (patch)
tree58b2e4e05edca22d042e441b041174e802daf80c /apps/codecs/mpa.c
parent57cc28d6db6dafe2138916550aad5a9306e80f42 (diff)
downloadrockbox-354770088e87c3aa8720f462fe3ac8368d7de5b5.tar.gz
rockbox-354770088e87c3aa8720f462fe3ac8368d7de5b5.zip
Re-enable the currently unused and broken dithering and noise shaping code already in Rockbox, and make it a user option instead of a codec-controlled option. The majority of people probably will not even hear any difference with this enabled, but feedback is welcome. Save your settings!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11368 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/mpa.c')
-rw-r--r--apps/codecs/mpa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c
index 81604de08a..ff6090e189 100644
--- a/apps/codecs/mpa.c
+++ b/apps/codecs/mpa.c
@@ -95,7 +95,6 @@ enum codec_status codec_start(struct codec_api *api)
95 95
96 /* Create a decoder instance */ 96 /* Create a decoder instance */
97 97
98 ci->configure(DSP_DITHER, (bool *)false);
99 ci->configure(DSP_SET_SAMPLE_DEPTH, (int *)(MAD_F_FRACBITS)); 98 ci->configure(DSP_SET_SAMPLE_DEPTH, (int *)(MAD_F_FRACBITS));
100 ci->configure(DSP_SET_CLIP_MIN, (int *)-MAD_F_ONE); 99 ci->configure(DSP_SET_CLIP_MIN, (int *)-MAD_F_ONE);
101 ci->configure(DSP_SET_CLIP_MAX, (int *)(MAD_F_ONE - 1)); 100 ci->configure(DSP_SET_CLIP_MAX, (int *)(MAD_F_ONE - 1));