diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2008-07-27 14:47:43 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2008-07-27 14:47:43 +0000 |
commit | 073d4a71c881ee74fc9667806fb7d2ae62a52ec0 (patch) | |
tree | a823136190cfa853203e77f308cc85b9b1c3c133 | |
parent | 2740923ec089615d2af1084daf8986b7ebfffd32 (diff) | |
download | rockbox-073d4a71c881ee74fc9667806fb7d2ae62a52ec0.tar.gz rockbox-073d4a71c881ee74fc9667806fb7d2ae62a52ec0.zip |
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.c | 4 |
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 @@ | |||
24 | 24 | ||
25 | CODEC_HEADER | 25 | CODEC_HEADER |
26 | 26 | ||
27 | #define CHUNK_SIZE (1024*8) | 27 | #define CHUNK_SIZE (1024*2) |
28 | 28 | ||
29 | static byte samples[CHUNK_SIZE]; /* The sample buffer */ | 29 | static byte samples[CHUNK_SIZE] IBSS_ATTR; /* The sample buffer */ |
30 | static ASAP_State asap; /* asap codec state */ | 30 | static ASAP_State asap; /* asap codec state */ |
31 | 31 | ||
32 | /* this is the codec entry point */ | 32 | /* this is the codec entry point */ |