summaryrefslogtreecommitdiff
path: root/apps/codecs/libmad/synth.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-07-29 16:40:11 +0000
committerDave Chapman <dave@dchapman.com>2007-07-29 16:40:11 +0000
commitf52c17851738b201ebafa45a055b748e9db12f4a (patch)
tree68dc83b03e460d0143cd17aac78f0f04d00b746d /apps/codecs/libmad/synth.c
parent3d45dfb4bdb9c6cb75d1d25f012e9b2179a1f11b (diff)
downloadrockbox-f52c17851738b201ebafa45a055b748e9db12f4a.zip
rockbox-f52c17851738b201ebafa45a055b748e9db12f4a.tar.gz
rockbox-f52c17851738b201ebafa45a055b748e9db12f4a.tar.bz2
rockbox-f52c17851738b201ebafa45a055b748e9db12f4a.tar.xz
Revert r14050 (apart from the non-related whitespace changes) and fix the S3C2440 (Gigabeat F/X) problems introduced by my r14041 commit in a slightly different way: Introduce a mad_iram.h file and centralise all IRAM-related decisions in there (similar to how Tremor does it). Now checks for CPU type (S3C2440) instead of target (TOSHIBA_GIGABEAT_F) and there is also a .ibss variable in syth_full_arm.S which shouldn't go in IRAM on S3C2440 targets. Closes FS#7500
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14057 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmad/synth.c')
-rw-r--r--apps/codecs/libmad/synth.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/codecs/libmad/synth.c b/apps/codecs/libmad/synth.c
index 00e00ad..6f5d2ec 100644
--- a/apps/codecs/libmad/synth.c
+++ b/apps/codecs/libmad/synth.c
@@ -1042,13 +1042,9 @@ void synth_full2(mad_fixed_t *pcm, mad_fixed_t (*fo)[8], mad_fixed_t (*fe)[8],
mad_fixed_t const (*D0ptr)[32],
mad_fixed_t const (*D1ptr)[32]);
-/* This performs slower in IRAM on PP502x and there is no space in
- mpegplayer on the PP5002 */
-#if !defined(CPU_PP502x) && !(CONFIG_CPU == PP5002 && defined(MPEGPLAYER)) && !defined(TOSHIBA_GIGABEAT_F)
static
void synth_full(struct mad_synth *synth, struct mad_frame const *frame,
- unsigned int nch, unsigned int ns) ICODE_ATTR;
-#endif
+ unsigned int nch, unsigned int ns) ICODE_ATTR_MPA_SYNTH;
static
void synth_full(struct mad_synth *synth, struct mad_frame const *frame,
unsigned int nch, unsigned int ns)