From 5901ac87566f78185b330b5eb39005c9c7886803 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Fri, 13 May 2022 18:32:13 +0200 Subject: ipod6g: increase plugin buffer size from 512 KiB to 2 MiB The iPod classic/6G comes with 64MB of RAM. This brings it in line with the plugin buffer size of some other targets that have the same amount of RAM, such as the Fiio M3K, and enables the use of PictureFlow for users with very large databases. Change-Id: I1ccae1cacda7a243139f4887f54bd35cc8e501cf --- firmware/export/config/ipod6g.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/firmware/export/config/ipod6g.h b/firmware/export/config/ipod6g.h index 2e4afbdf63..b03b1131bd 100644 --- a/firmware/export/config/ipod6g.h +++ b/firmware/export/config/ipod6g.h @@ -133,11 +133,9 @@ /* Define this if you have a software controlled poweroff */ #define HAVE_SW_POWEROFF -/* The number of bytes reserved for loadable codecs */ -#define CODEC_SIZE 0x100000 - -/* The number of bytes reserved for loadable plugins */ -#define PLUGIN_BUFFER_SIZE 0x80000 +/* Buffer for plugins and codecs. */ +#define PLUGIN_BUFFER_SIZE 0x200000 /* 2 MiB */ +#define CODEC_SIZE 0x100000 /* 1 MiB */ /* 6g has a standard battery of 550mAh, except for the thick 6g (2007 160gb) * which has a standard battery of 850mAh. -- cgit v1.2.3