summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/codecs.h3
-rw-r--r--apps/plugin.h1
-rw-r--r--firmware/app.lds2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs.h b/apps/codecs.h
index 4cf1f81..e322d75 100644
--- a/apps/codecs.h
+++ b/apps/codecs.h
@@ -72,7 +72,8 @@
#endif
-/* This size must match the one set in ../plugins/plugin.lds */
+/* This size must match the one set in ../plugins/plugin.lds and
+ ../../firmware/app.lds */
#define CODEC_BUFFER_SIZE 0x40000
#ifdef SIMULATOR
diff --git a/apps/plugin.h b/apps/plugin.h
index 6bd4ed7..68916b8 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -86,7 +86,6 @@
#else
#define PLUGIN_BUFFER_SIZE 0x8000
#endif
-#define CODEC_BUFFER_SIZE 0x3C000
#ifdef SIMULATOR
#define PREFIX(_x_) sim_ ## _x_
diff --git a/firmware/app.lds b/firmware/app.lds
index 06df52d..91f0395 100644
--- a/firmware/app.lds
+++ b/firmware/app.lds
@@ -108,7 +108,7 @@ _pluginbuf = 0;
#endif
#if CONFIG_HWCODEC == MASNONE
-#define CODECSIZE 0x3C000
+#define CODECSIZE 0x40000
#else
#define CODECSIZE 0
#endif