From 19ee9363d177f12c3c1b8883c7d89868c3559bab Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 13 Sep 2025 08:37:10 -0400 Subject: [PATCH] ibasso: Rejigger RAM and buffer sizes a little Shrink audio buffer from ~256MB to ~192MB. Increase plugin buffer size to 2MB, not that it should matter given how much extra RAM this platform has. This leaves plenty of room for the base OS to do what it needs to do. Change-Id: I59ca235b9cf80cf86d406e4a144fee7d7784ed5d --- firmware/export/config/ibassodx50.h | 2 +- firmware/export/config/ibassodx90.h | 2 +- tools/configure | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/export/config/ibassodx50.h b/firmware/export/config/ibassodx50.h index a56db2b265..f8784ad1cc 100644 --- a/firmware/export/config/ibassodx50.h +++ b/firmware/export/config/ibassodx50.h @@ -81,7 +81,7 @@ #define CODEC_SIZE 0x100000 /* The number of bytes reserved for loadable plugins */ -#define PLUGIN_BUFFER_SIZE 0x160000 +#define PLUGIN_BUFFER_SIZE 0x200000 #define AB_REPEAT_ENABLE diff --git a/firmware/export/config/ibassodx90.h b/firmware/export/config/ibassodx90.h index 576ff2de47..dd7b406ea6 100644 --- a/firmware/export/config/ibassodx90.h +++ b/firmware/export/config/ibassodx90.h @@ -80,7 +80,7 @@ #define CODEC_SIZE 0x100000 /* The number of bytes reserved for loadable plugins */ -#define PLUGIN_BUFFER_SIZE 0x160000 +#define PLUGIN_BUFFER_SIZE 0x200000 #define AB_REPEAT_ENABLE diff --git a/tools/configure b/tools/configure index e4df896850..8d1fb7fdc6 100755 --- a/tools/configure +++ b/tools/configure @@ -4054,7 +4054,7 @@ fi app_type="android_ndk" lcd_orientation="landscape" # Actually 408260kB - memory=256 + memory=192 uname=`uname` androidndkcc 16 armeabi "-mcpu=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=softfp" tool="cp " @@ -4078,7 +4078,7 @@ fi target="DX90" app_type="android_ndk" lcd_orientation="landscape" - memory=256 + memory=192 uname=`uname` androidndkcc 16 armeabi "-mcpu=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=softfp" tool="cp "