forked from len0rd/rockbox
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
This commit is contained in:
parent
47a090105a
commit
6469926b88
4 changed files with 20 additions and 4 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue