summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2005-08-17 20:58:15 +0000
committerMagnus Holmgren <magnushol@gmail.com>2005-08-17 20:58:15 +0000
commit39cb5b7912840a5ce06b47c8936ee9005a545cd1 (patch)
tree1dfa6c44e5b710187a818cfbcc98799e35ee1a60 /apps
parent280d9cc00a6ca30b4cdd30629289d92efd132c3a (diff)
downloadrockbox-39cb5b7912840a5ce06b47c8936ee9005a545cd1.tar.gz
rockbox-39cb5b7912840a5ce06b47c8936ee9005a545cd1.zip
iriver: Do correct ReplayGain calculation. Fixes distortion problems (and lowers playback volume).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7343 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dsp.c b/apps/dsp.c
index 701ffb4e55..27780af611 100644
--- a/apps/dsp.c
+++ b/apps/dsp.c
@@ -66,7 +66,7 @@
66 "move.l %%accext01, %[u]\n\t" \ 66 "move.l %%accext01, %[u]\n\t" \
67 "movclr.l %%acc0, %[t]\n\t" \ 67 "movclr.l %%acc0, %[t]\n\t" \
68 : [t] "=r" (t), [u] "=r" (u) : [a] "r" (x), [b] "r" (y)); \ 68 : [t] "=r" (t), [u] "=r" (u) : [a] "r" (x), [b] "r" (y)); \
69 (t << 8) | (u & 0xff); \ 69 (t << 7) | ((u & 0xff) >> 1); \
70}) 70})
71 71
72#else 72#else