diff options
author | Thom Johansen <thomj@rockbox.org> | 2005-12-15 12:40:39 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2005-12-15 12:40:39 +0000 |
commit | df7f61e0c17c43088bcdcfded0ca657c274b2d2a (patch) | |
tree | 3c1448683cd7cb2166ff46b3632c8f4c12c71cad /apps/dsp.c | |
parent | 9ceb31132891f99c7582df1ddf3bb0ab25dc752d (diff) |
Fix typo and disable crossfeed assembler version for DEBUG builds, which obviously tend to need the frame pointer which i use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8242 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/dsp.c')
-rw-r--r-- | apps/dsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dsp.c b/apps/dsp.c index 309c8a229c..20aa1f895b 100644 --- a/apps/dsp.c +++ b/apps/dsp.c @@ -466,7 +466,7 @@ static long dither_sample(long sample, long bias, long mask, * the src array if gain was applied. * Note that this must be called before the resampler. */ -#if defined(CPU_COLDFIRE) && !defined(SIMULATOR) +#if defined(CPU_COLDFIRE) && !defined(SIMULATOR) && !defined(DEBUG) static const long crossfeed_coefs[6] ICONST_ATTR = { LOW, LOW_COMP, HIGH_NEG, HIGH_COMP, ATT, ATT_COMP }; @@ -503,7 +503,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*high_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] */ |