summaryrefslogtreecommitdiff
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,
103# endif 103# endif
104 104
105/* possible DCT speed optimization */ 105/* possible DCT speed optimization */
106# ifdef FPM_COLDFIRE_EMAC 106# if defined(FPM_COLDFIRE_EMAC)
107/* This is a Coldfire version of the OPT_SPEED optimisation below, but in the 107/* This is a Coldfire version of the OPT_SPEED optimisation below, but in the
108 case of Coldfire it doesn't loose no additional precision. */ 108 case of Coldfire it doesn't loose no additional precision. */
109# define MUL(x, y) \ 109# define MUL(x, y) \
@@ -538,15 +538,10 @@ mad_fixed_t const D[17][32] ICONST_ATTR = {
538# include "D.dat" 538# include "D.dat"
539}; 539};
540 540
541# if defined(ASO_SYNTH)
542void synth_full(struct mad_synth *, struct mad_frame const *,
543 unsigned int, unsigned int);
544# else
545/* 541/*
546 * NAME: synth->full() 542 * NAME: synth->full()
547 * DESCRIPTION: perform full frequency PCM synthesis 543 * DESCRIPTION: perform full frequency PCM synthesis
548 */ 544 */
549
550/* optimised version of synth_full */ 545/* optimised version of synth_full */
551# ifdef FPM_COLDFIRE_EMAC 546# ifdef FPM_COLDFIRE_EMAC
552 547
@@ -1059,9 +1054,7 @@ void synth_full(struct mad_synth *synth, struct mad_frame const *frame,
1059 } 1054 }
1060 } 1055 }
1061} 1056}
1062 1057# endif /* FPM_COLDFIRE_EMAC, FPM_ARM */
1063# endif
1064# endif
1065 1058
1066#if 0 /* rockbox: unused */ 1059#if 0 /* rockbox: unused */
1067/* 1060/*