summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-07-27 14:47:43 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-07-27 14:47:43 +0000
commit073d4a71c881ee74fc9667806fb7d2ae62a52ec0 (patch)
treea823136190cfa853203e77f308cc85b9b1c3c133
parent2740923ec089615d2af1084daf8986b7ebfffd32 (diff)
Asap codec: put outputbuffer into iram. Improves performance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18129 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/asap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/asap.c b/apps/codecs/asap.c
index 31b2482ce3..b549edad8b 100644
--- a/apps/codecs/asap.c
+++ b/apps/codecs/asap.c
@@ -24,9 +24,9 @@
CODEC_HEADER
-#define CHUNK_SIZE (1024*8)
+#define CHUNK_SIZE (1024*2)
-static byte samples[CHUNK_SIZE]; /* The sample buffer */
+static byte samples[CHUNK_SIZE] IBSS_ATTR; /* The sample buffer */
static ASAP_State asap; /* asap codec state */
/* this is the codec entry point */