summaryrefslogtreecommitdiff
path: root/apps/codecs/libmusepack/musepack.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libmusepack/musepack.h')
-rw-r--r--apps/codecs/libmusepack/musepack.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/codecs/libmusepack/musepack.h b/apps/codecs/libmusepack/musepack.h
index 5d1ad0de3f..9bdebf8b04 100644
--- a/apps/codecs/libmusepack/musepack.h
+++ b/apps/codecs/libmusepack/musepack.h
@@ -66,6 +66,16 @@ extern "C" {
66#endif 66#endif
67#endif 67#endif
68 68
69#ifndef ICODE_ATTR_MPC_LARGE_IRAM
70#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024)
71/* PP5022/24 have 128KB of IRAM and have better performance with ICODE_ATTR */
72#define ICODE_ATTR_MPC_LARGE_IRAM ICODE_ATTR
73#else
74/* all other targets either haven't enough IRAM or performance suffers */
75#define ICODE_ATTR_MPC_LARGE_IRAM
76#endif
77#endif
78
69#ifdef ROCKBOX_LITTLE_ENDIAN 79#ifdef ROCKBOX_LITTLE_ENDIAN
70#define MPC_LITTLE_ENDIAN 80#define MPC_LITTLE_ENDIAN
71#endif 81#endif