summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playback.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c
index ce0e326..5c7bcac 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -114,7 +114,11 @@ enum {
#define GUARD_BUFSIZE (32*1024)
/* As defined in plugin.lds */
+#if CONFIG_CPU == PP5020 || CONFIG_CPU == PP5002
+#define CODEC_IRAM_ORIGIN 0x4000c000
+#else
#define CODEC_IRAM_ORIGIN 0x1000c000
+#endif
#define CODEC_IRAM_SIZE 0xc000
extern bool audio_is_initialized;