summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2010-05-13 18:37:06 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2010-05-13 18:37:06 +0000
commit8cb418383927a653f344892197dc7aa6491e8843 (patch)
treefc3287640363deb63a5f822f512a867d9eee174c
parent21920408be1b150c81e99ac8496d6710b775ac7a (diff)
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
-rw-r--r--apps/codecs/libtta/ttadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libtta/ttadec.c b/apps/codecs/libtta/ttadec.c
index 027b78a17e..dc9f5b905b 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 */