diff options
| author | Thom Johansen <thomj@rockbox.org> | 2005-11-23 14:30:58 +0000 |
|---|---|---|
| committer | Thom Johansen <thomj@rockbox.org> | 2005-11-23 14:30:58 +0000 |
| commit | 978521fe22e81acdd85a6d930df4e441fb914686 (patch) | |
| tree | 1b1ac158dac4cdd518208645a59065a3b88ebf86 /apps | |
| parent | fed2c567afc358507dedbaf716949b9e918caf40 (diff) | |
| download | rockbox-978521fe22e81acdd85a6d930df4e441fb914686.zip rockbox-978521fe22e81acdd85a6d930df4e441fb914686.tar.gz rockbox-978521fe22e81acdd85a6d930df4e441fb914686.tar.bz2 rockbox-978521fe22e81acdd85a6d930df4e441fb914686.tar.xz | |
Replaygain support uses the accumulator extension bytss, so disable rounding. Fix some typos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8051 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/dsp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -471,7 +471,7 @@ static void apply_crossfeed(long* src[], int count) * d5 = src[0][i], d6 = src[1][i]. * The rest are described in asm constraint list. */ - ".cfloop:" + ".cfloop:" /* LOW*low_left + LOW_COMP*left */ "mac.l %%a1, %%d0, %%acc0 \n" "mac.l %%a2, %%d5, %%acc0 \n" @@ -483,7 +483,7 @@ static void apply_crossfeed(long* src[], int count) /* HIGH_NEG*high_left + HIGH_COMP*left */ "mac.l %%a1, %%d2, %%acc0 \n" "mac.l %%a2, %%d5, %%acc0 \n" - /* HIGH_NEG*hifh_right + HIGH_COMP+*right */ + /* HIGH_NEG*high_right + HIGH_COMP+*right */ "mac.l %%a1, %%d3, (%[coef])+, %%a1, %%acc1 \n" /* a1 = ATT */ "mac.l %%a2, %%d6, (%[coef])+, %%a2, %%acc1 \n" /* a2 = ATT_COMP */ "lea.l (-6*4, %[coef]), %[coef] \n" /* coef = &coefs[0] */ @@ -676,7 +676,7 @@ long dsp_process(char* dst, char* src[], long size) /* set emac unit for dsp processing, and save old macsr, we're running in codec thread context at this point, so can't clobber it */ unsigned long old_macsr = coldfire_get_macsr(); - coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_ROUND | EMAC_SATURATE); + coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_SATURATE); #endif dsp = &dsp_conf[current_codec]; |