From 888df68354e4fe9c861514675583df6c0aa416f0 Mon Sep 17 00:00:00 2001 From: saratoga Date: Thu, 13 May 2010 18:37:06 +0000 Subject: [PATCH] Put decoder array into IRAM. Improves Coldfire (h300) performance 218MHz ->102.84 MHz. Should be realtime on all CF targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25998 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libtta/ttadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/codecs/libtta/ttadec.c b/apps/codecs/libtta/ttadec.c index 027b78a17..dc9f5b905 100644 --- a/apps/codecs/libtta/ttadec.c +++ b/apps/codecs/libtta/ttadec.c @@ -48,7 +48,7 @@ static unsigned char isobuffers[ISO_BUFFERS_SIZE + 4] IBSS_ATTR; static unsigned char *iso_buffers_end = isobuffers + ISO_BUFFERS_SIZE; static unsigned int pcm_buffer_size; -static decoder tta[MAX_NCH]; /* decoder state */ +static decoder tta[MAX_NCH] IBSS_ATTR; /* decoder state */ /* Rockbox speciffic: cache is defined in get_samples() (non static value) */ /* static int cache[MAX_NCH]; // decoder cache */ -- 2.11.4.GIT