summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2024-09-24 19:16:31 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2024-09-25 00:54:10 -0400
commitffebb9e244900924f48496989318486e583d910e (patch)
tree550f6388b8e8529f2d2c5283ed74f3a4194f1b6a
parent33495ef006e34b6f8712e114e7f7d7f3079f4579 (diff)
downloadrockbox-ffebb9e244.tar.gz
rockbox-ffebb9e244.zip
[Bugfix] Enable Progressive loading for talk clips on devices <= 8MB
our voiceclips are getting in the way of allocs for the tree on these devices Change-Id: I556400359df22a2643e6ee3f9a161bc364841002
-rw-r--r--apps/talk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/talk.c b/apps/talk.c
index b5622ad6d1..50fa21d650 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -84,7 +84,7 @@ struct voicefile_header /* file format of our voice file */
/***************** Globals *****************/
-#if MEMORYSIZE <= 2
+#if MEMORYSIZE <= 8
/* On low memory swcodec targets the entire voice file wouldn't fit in memory
* together with codecs, so we load clips each time they are accessed. */
#define TALK_PROGRESSIVE_LOAD