summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index dbfdca516e..94967c7673 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -80,6 +80,14 @@
#endif
+/* These three sizes must match the ones set in plugins/plugin.lds */
+#if MEM >= 32
+#define PLUGIN_BUFFER_SIZE 0xC0000
+#else
+#define PLUGIN_BUFFER_SIZE 0x8000
+#endif
+#define CODEC_BUFFER_SIZE 0x3C000
+
#ifdef SIMULATOR
#define PREFIX(_x_) sim_ ## _x_
#else