summaryrefslogtreecommitdiff
path: root/firmware/export/pcm_mixer.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/pcm_mixer.h')
-rw-r--r--firmware/export/pcm_mixer.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/firmware/export/pcm_mixer.h b/firmware/export/pcm_mixer.h
index 3b420e1320..f430ce0efe 100644
--- a/firmware/export/pcm_mixer.h
+++ b/firmware/export/pcm_mixer.h
@@ -37,12 +37,18 @@
37#if defined(CPU_COLDFIRE) || defined(CPU_PP) 37#if defined(CPU_COLDFIRE) || defined(CPU_PP)
38/* For Coldfire, it's just faster 38/* For Coldfire, it's just faster
39 For PortalPlayer, this also avoids more expensive cache coherency */ 39 For PortalPlayer, this also avoids more expensive cache coherency */
40#define DOWNMIX_BUF_IBSS IBSS_ATTR 40#define DOWNMIX_BUF_IBSS IBSS_ATTR
41#else 41#else
42/* Otherwise can't DMA from IRAM, IRAM is pointless or worse */ 42/* Otherwise can't DMA from IRAM, IRAM is pointless or worse */
43#define DOWNMIX_BUF_IBSS 43#define DOWNMIX_BUF_IBSS
44#endif 44#endif
45 45
46#if defined(CPU_COLDFIRE) || defined(CPU_PP)
47#define MIXER_CALLBACK_ICODE ICODE_ATTR
48#else
49#define MIXER_CALLBACK_ICODE
50#endif
51
46 52
47/** Definitions **/ 53/** Definitions **/
48 54