mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 19:53:18 -04:00
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
This commit is contained in:
parent
dbe5e5f2df
commit
88aeef9127
4 changed files with 67 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue