From 8c47ed15e97c85903850cf73ac83be8667ee2fae Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 29 Jun 2011 13:43:47 +0000 Subject: Get M5 building again by moving the downmix buffer out of IRAM for now. Everything should still work. It doesn't have any apparently measurable effect on pure playback CPU usage as seen from the buffering thread screen compared to earlier tests on the same file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30101 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/pcm_mixer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/export/pcm_mixer.h b/firmware/export/pcm_mixer.h index f430ce0efe..9c4e06e0be 100644 --- a/firmware/export/pcm_mixer.h +++ b/firmware/export/pcm_mixer.h @@ -34,7 +34,8 @@ #define MIX_FRAME_SAMPLES 256 #endif -#if defined(CPU_COLDFIRE) || defined(CPU_PP) +/* IAUDIO_M5 is very tight on IRAM */ +#if (defined(CPU_COLDFIRE) && !defined(IAUDIO_M5)) || defined(CPU_PP) /* For Coldfire, it's just faster For PortalPlayer, this also avoids more expensive cache coherency */ #define DOWNMIX_BUF_IBSS IBSS_ATTR -- cgit v1.2.3