1
0
Fork 0
forked from len0rd/rockbox

[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
This commit is contained in:
William Wilgus 2024-09-24 19:16:31 -04:00 committed by William Wilgus
parent 33495ef006
commit ffebb9e244

View file

@ -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