From 39cb5b7912840a5ce06b47c8936ee9005a545cd1 Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Wed, 17 Aug 2005 20:58:15 +0000 Subject: 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 --- apps/dsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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 @@ "move.l %%accext01, %[u]\n\t" \ "movclr.l %%acc0, %[t]\n\t" \ : [t] "=r" (t), [u] "=r" (u) : [a] "r" (x), [b] "r" (y)); \ - (t << 8) | (u & 0xff); \ + (t << 7) | ((u & 0xff) >> 1); \ }) #else -- cgit v1.2.3