summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2022-05-13 18:32:13 +0200
committerSolomon Peachy <pizza@shaftnet.org>2022-07-12 01:01:47 -0400
commit5901ac87566f78185b330b5eb39005c9c7886803 (patch)
treef99a90d2c7c1ee8a5ea580cfb4bdbc15b39c53c9
parent23fea5dfa86755c6ae03148ba913270a5ac08969 (diff)
downloadrockbox-5901ac87566f78185b330b5eb39005c9c7886803.tar.gz
rockbox-5901ac87566f78185b330b5eb39005c9c7886803.zip
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
-rw-r--r--firmware/export/config/ipod6g.h8
1 files 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 @@
133/* Define this if you have a software controlled poweroff */ 133/* Define this if you have a software controlled poweroff */
134#define HAVE_SW_POWEROFF 134#define HAVE_SW_POWEROFF
135 135
136/* The number of bytes reserved for loadable codecs */ 136/* Buffer for plugins and codecs. */
137#define CODEC_SIZE 0x100000 137#define PLUGIN_BUFFER_SIZE 0x200000 /* 2 MiB */
138 138#define CODEC_SIZE 0x100000 /* 1 MiB */
139/* The number of bytes reserved for loadable plugins */
140#define PLUGIN_BUFFER_SIZE 0x80000
141 139
142/* 6g has a standard battery of 550mAh, except for the thick 6g (2007 160gb) 140/* 6g has a standard battery of 550mAh, except for the thick 6g (2007 160gb)
143 * which has a standard battery of 850mAh. 141 * which has a standard battery of 850mAh.