summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libtremor/config-tremor.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2011-06-05 20:18:31 +0000
committerNils Wallménius <nils@rockbox.org>2011-06-05 20:18:31 +0000
commit684b74147f203662fb6767f65b4ca8fc9b8eeeac (patch)
tree9ef604a3f98f8cd46d3fa396d96d42de81599492 /apps/codecs/libtremor/config-tremor.h
parent965113ed5051d3e9e4b563b8da1f5523c5470a76 (diff)
downloadrockbox-684b74147f203662fb6767f65b4ca8fc9b8eeeac.tar.gz
rockbox-684b74147f203662fb6767f65b4ca8fc9b8eeeac.tar.bz2
rockbox-684b74147f203662fb6767f65b4ca8fc9b8eeeac.zip
Safe part of FS#11268, saving some codec buffer space for targets that don't use separate iram.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29975 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libtremor/config-tremor.h')
-rw-r--r--apps/codecs/libtremor/config-tremor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs/libtremor/config-tremor.h b/apps/codecs/libtremor/config-tremor.h
index 7afb2c6ad0..2f93072d63 100644
--- a/apps/codecs/libtremor/config-tremor.h
+++ b/apps/codecs/libtremor/config-tremor.h
@@ -23,6 +23,10 @@
#define ICODE_ATTR_TREMOR_NOT_MDCT ICODE_ATTR
#endif
+#ifdef USE_IRAM
+#define TREMOR_USE_IRAM
+#endif
+
/* Define CPU of large IRAM (PP5022/5024, MCF5250) */
#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || defined(CPU_S5L870X) || (CONFIG_CPU == MCF5250)
/* PCM_BUFFER : 32768 byte (4096*2*4 or 2048*4*4) *