From 88aeef91275dd121f2e8663ec79729412aaa2fa2 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 4 May 2012 22:00:44 -0400 Subject: Remove pointless IRAM allocation from voice DSP. It's always used in MONO mode and doesn't need the IRAM sample/ resample buffers and 1280 bytes can be freed. M5 can now have its PCM mixer downmix buffer in IRAM. Change-Id: I0af08be5b212b7dfe382bba588a6585eb328a038 --- firmware/export/pcm_mixer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'firmware') diff --git a/firmware/export/pcm_mixer.h b/firmware/export/pcm_mixer.h index f6d212d8e0..69d2b894df 100644 --- a/firmware/export/pcm_mixer.h +++ b/firmware/export/pcm_mixer.h @@ -40,8 +40,7 @@ #define MIX_FRAME_SAMPLES 256 #endif -/* IAUDIO_M5 is very tight on IRAM */ -#if (defined(CPU_COLDFIRE) && !defined(IAUDIO_M5)) || defined(CPU_PP) +#if defined(CPU_COLDFIRE) || 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