summaryrefslogtreecommitdiffstats
path: root/firmware/export/config/sansaclipv2.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-04-05 19:18:15 +0000
committerThomas Martitz <kugel@rockbox.org>2010-04-05 19:18:15 +0000
commit02afc271c92c9138a51c22ff723872c7a430f74e (patch)
treefa6e2487cfd351d684d28b36f392040a27654b5e /firmware/export/config/sansaclipv2.h
parent527a2e64ab23fee104bf447e06fdefb38c211418 (diff)
downloadrockbox-02afc271c92c9138a51c22ff723872c7a430f74e.tar.gz
rockbox-02afc271c92c9138a51c22ff723872c7a430f74e.tar.bz2
rockbox-02afc271c92c9138a51c22ff723872c7a430f74e.zip
as3525v2: Move codec into iram freeing 1MB for the audio buffer and also a small decoding speedup (iram seems to be 50% faster than dram when boosted and the same when unboosed). 32k is still reserved for the core and can be readjusted if needed. Codecs don't appear to ever need the 1MB (usually <350k only).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25491 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config/sansaclipv2.h')
-rw-r--r--firmware/export/config/sansaclipv2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h
index 8ac90ddcde..876d95ac22 100644
--- a/firmware/export/config/sansaclipv2.h
+++ b/firmware/export/config/sansaclipv2.h
@@ -108,7 +108,7 @@
#define HAVE_FAT16SUPPORT
/* The number of bytes reserved for loadable codecs */
-#define CODEC_SIZE 0x100000
+#define CODEC_SIZE (0x100000-0x8000)
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000