summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libmad/synth.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-11-07 21:42:28 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-11-07 21:42:28 +0000
commit5e4dc32287c7a893a4b6816c0187423a14b20704 (patch)
treec84b7bd6e8d7cbdf767476c4d7324e69214e0022 /apps/codecs/libmad/synth.c
parent2df7a275c14e283cc523fb80e932f14c2f122eea (diff)
downloadrockbox-5e4dc32287c7a893a4b6816c0187423a14b20704.tar.gz
rockbox-5e4dc32287c7a893a4b6816c0187423a14b20704.zip
Clean up libmad, remove unused compile options and source paths.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28532 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmad/synth.c')
-rw-r--r--apps/codecs/libmad/synth.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/apps/codecs/libmad/synth.c b/apps/codecs/libmad/synth.c
index 527d86d55c..f2cd21b121 100644
--- a/apps/codecs/libmad/synth.c
+++ b/apps/codecs/libmad/synth.c
@@ -103,7 +103,7 @@ void dct32(mad_fixed_t const in[32], unsigned int slot,
# endif
/* possible DCT speed optimization */
-# ifdef FPM_COLDFIRE_EMAC
+# if defined(FPM_COLDFIRE_EMAC)
/* This is a Coldfire version of the OPT_SPEED optimisation below, but in the
case of Coldfire it doesn't loose no additional precision. */
# define MUL(x, y) \
@@ -538,15 +538,10 @@ mad_fixed_t const D[17][32] ICONST_ATTR = {
# include "D.dat"
};
-# if defined(ASO_SYNTH)
-void synth_full(struct mad_synth *, struct mad_frame const *,
- unsigned int, unsigned int);
-# else
/*
* NAME: synth->full()
* DESCRIPTION: perform full frequency PCM synthesis
*/
-
/* optimised version of synth_full */
# ifdef FPM_COLDFIRE_EMAC
@@ -1059,9 +1054,7 @@ void synth_full(struct mad_synth *synth, struct mad_frame const *frame,
}
}
}
-
-# endif
-# endif
+# endif /* FPM_COLDFIRE_EMAC, FPM_ARM */
#if 0 /* rockbox: unused */
/*