diff options
author | William Wilgus <wilgus.william@gmail.com> | 2024-09-24 19:16:31 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2024-09-25 00:54:10 -0400 |
commit | ffebb9e244900924f48496989318486e583d910e (patch) | |
tree | 550f6388b8e8529f2d2c5283ed74f3a4194f1b6a /apps/talk.c | |
parent | 33495ef006e34b6f8712e114e7f7d7f3079f4579 (diff) | |
download | rockbox-ffebb9e244900924f48496989318486e583d910e.tar.gz rockbox-ffebb9e244900924f48496989318486e583d910e.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
Diffstat (limited to 'apps/talk.c')
-rw-r--r-- | apps/talk.c | 2 |
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 */ | |||
84 | 84 | ||
85 | /***************** Globals *****************/ | 85 | /***************** Globals *****************/ |
86 | 86 | ||
87 | #if MEMORYSIZE <= 2 | 87 | #if MEMORYSIZE <= 8 |
88 | /* On low memory swcodec targets the entire voice file wouldn't fit in memory | 88 | /* On low memory swcodec targets the entire voice file wouldn't fit in memory |
89 | * together with codecs, so we load clips each time they are accessed. */ | 89 | * together with codecs, so we load clips each time they are accessed. */ |
90 | #define TALK_PROGRESSIVE_LOAD | 90 | #define TALK_PROGRESSIVE_LOAD |