From 5e4dc32287c7a893a4b6816c0187423a14b20704 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sun, 7 Nov 2010 21:42:28 +0000 Subject: 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 --- apps/codecs/libmad/synth.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'apps/codecs/libmad/synth.c') 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 */ /* -- cgit