Put decoder array into IRAM. Improves Coldfire (h300) performance 218MHz ->102.84...
authorsaratoga <saratoga@a1c6a512-1295-4272-9138-f99709370657>
Thu, 13 May 2010 18:37:06 +0000 (13 18:37 +0000)
committersaratoga <saratoga@a1c6a512-1295-4272-9138-f99709370657>
Thu, 13 May 2010 18:37:06 +0000 (13 18:37 +0000)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25998 a1c6a512-1295-4272-9138-f99709370657

apps/codecs/libtta/ttadec.c

index 027b78a..dc9f5b9 100644 (file)
@@ -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 */