summaryrefslogtreecommitdiff
path: root/apps/talk.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2011-11-06 14:25:33 +0000
committerJens Arnold <amiconn@rockbox.org>2011-11-06 14:25:33 +0000
commitae601954aac6eae74ffc2603031f7ebc617aeeb3 (patch)
tree6cd9174a2d8051f862881899cd8f7cd5a070c588 /apps/talk.c
parent544fb6a5a48036a2e28b51e2b3f4c9c12c20dd18 (diff)
downloadrockbox-ae601954aac6eae74ffc2603031f7ebc617aeeb3.tar.gz
rockbox-ae601954aac6eae74ffc2603031f7ebc617aeeb3.zip
Make usage of TALK_PARTIAL_LOAD actually Ondio specific. MMC is not always slow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30917 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.c')
-rw-r--r--apps/talk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/talk.c b/apps/talk.c
index e1eea4d3c4..bfad99fbd2 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -113,8 +113,7 @@ struct queue_entry /* one entry of the internal queue */
113 113
114/***************** Globals *****************/ 114/***************** Globals *****************/
115 115
116#if (CONFIG_CODEC == SWCODEC && MEMORYSIZE <= 2) \ 116#if (CONFIG_CODEC == SWCODEC && MEMORYSIZE <= 2) || defined(ONDIO_SERIES)
117 || (CONFIG_STORAGE & STORAGE_MMC)
118/* On low memory swcodec targets the entire voice file wouldn't fit in memory 117/* On low memory swcodec targets the entire voice file wouldn't fit in memory
119 * together with codecs, so we load clips each time they are accessed. 118 * together with codecs, so we load clips each time they are accessed.
120 * The Ondios have slow storage access and loading the entire voice file would 119 * The Ondios have slow storage access and loading the entire voice file would