From ffebb9e244900924f48496989318486e583d910e Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Tue, 24 Sep 2024 19:16:31 -0400 Subject: [PATCH] [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 --- apps/talk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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