From 6469926b889f1533134233c63c894ac471f2f53c Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Tue, 11 Aug 2009 02:05:38 +0000 Subject: 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 --- firmware/export/config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware/export/config.h') 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 @@ * for example in hardware, but not controllable*/ #define BACKLIGHT_FADING_TARGET 0x8 +/*include support for crossfading - requires significant PCM buffer space*/ +#if MEMORYSIZE > 2 +#define HAVE_CROSSFADE +#endif + /* CONFIG_CHARGING */ /* Generic types */ -- cgit v1.2.3