FS#10506 - Don't compile crossfade on lowmem targets

Attached to Project: Rockbox
Opened by MichaelGiacomelli (saratoga) - Tuesday, 11 August 2009, 01:26 GMT
Last edited by MichaelGiacomelli (saratoga) - Tuesday, 11 August 2009, 02:13 GMT
Task Type Patches
Category Music playback
Status Closed
Assigned To No-one
Operating System SW-codec
Severity Low
Priority Normal
Reported Version Version 3.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Disables compiling various crossfade specific code in pcmbuf.c on low memory (AMS Sansa mainly) targets since this code is unused on them. Saves a bit under 2KB according to bloat-o-meter.

JdGordon suggested and I tend to agree that this should be made dependent on HAVE_CROSSFADE in the config-XXX.h files instead of just checking for MEMORYSIZE > 2.
This task depends upon

Closed by  MichaelGiacomelli (saratoga)
Tuesday, 11 August 2009, 02:13 GMT
Reason for closing:  Accepted
Additional comments about closing:  Accepted in r22248.