diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2009-08-11 02:05:38 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2009-08-11 02:05:38 +0000 |
commit | 6469926b889f1533134233c63c894ac471f2f53c (patch) | |
tree | b1d0cfce47546917e49dbf4607216770f5bda721 /firmware/export/config.h | |
parent | 47a090105adac2c7d63165a28f46126df08ce494 (diff) | |
download | rockbox-6469926b889f1533134233c63c894ac471f2f53c.tar.gz rockbox-6469926b889f1533134233c63c894ac471f2f53c.zip |
FS#10506. Don't compile various crossfade only functions in pcmbuf.c on low memory targets (mainly AMS) to save memory. Some crossfade related items remain in the code, but they're not worth cluttering the code with ifdefs over. Also, introduce HAVE_CROSSFADE define for neatness.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22248 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 0082f3ab31..8871abcb88 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -139,6 +139,11 @@ | |||
139 | * for example in hardware, but not controllable*/ | 139 | * for example in hardware, but not controllable*/ |
140 | #define BACKLIGHT_FADING_TARGET 0x8 | 140 | #define BACKLIGHT_FADING_TARGET 0x8 |
141 | 141 | ||
142 | /*include support for crossfading - requires significant PCM buffer space*/ | ||
143 | #if MEMORYSIZE > 2 | ||
144 | #define HAVE_CROSSFADE | ||
145 | #endif | ||
146 | |||
142 | /* CONFIG_CHARGING */ | 147 | /* CONFIG_CHARGING */ |
143 | 148 | ||
144 | /* Generic types */ | 149 | /* Generic types */ |