diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2012-05-04 22:00:44 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2012-05-04 22:00:44 -0400 |
commit | 88aeef91275dd121f2e8663ec79729412aaa2fa2 (patch) | |
tree | b8edc9365cfd8e73744f279724eede910adf53bb /firmware | |
parent | dbe5e5f2df24a0dbe650561c0b42ce982346534c (diff) | |
download | rockbox-88aeef91275dd121f2e8663ec79729412aaa2fa2.tar.gz rockbox-88aeef91275dd121f2e8663ec79729412aaa2fa2.zip |
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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/pcm_mixer.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 @@ | |||
40 | #define MIX_FRAME_SAMPLES 256 | 40 | #define MIX_FRAME_SAMPLES 256 |
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | /* IAUDIO_M5 is very tight on IRAM */ | 43 | #if defined(CPU_COLDFIRE) || defined(CPU_PP) |
44 | #if (defined(CPU_COLDFIRE) && !defined(IAUDIO_M5)) || defined(CPU_PP) | ||
45 | /* For Coldfire, it's just faster | 44 | /* For Coldfire, it's just faster |
46 | For PortalPlayer, this also avoids more expensive cache coherency */ | 45 | For PortalPlayer, this also avoids more expensive cache coherency */ |
47 | #define DOWNMIX_BUF_IBSS IBSS_ATTR | 46 | #define DOWNMIX_BUF_IBSS IBSS_ATTR |