summaryrefslogtreecommitdiffstats
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
parent544fb6a5a48036a2e28b51e2b3f4c9c12c20dd18 (diff)
downloadrockbox-ae601954aac6eae74ffc2603031f7ebc617aeeb3.tar.gz
rockbox-ae601954aac6eae74ffc2603031f7ebc617aeeb3.tar.bz2
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
-rw-r--r--apps/talk.c3
-rw-r--r--firmware/export/config/archosondiofm.h2
-rw-r--r--firmware/export/config/archosondiosp.h2
3 files changed, 5 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 */
/***************** Globals *****************/
-#if (CONFIG_CODEC == SWCODEC && MEMORYSIZE <= 2) \
- || (CONFIG_STORAGE & STORAGE_MMC)
+#if (CONFIG_CODEC == SWCODEC && MEMORYSIZE <= 2) || defined(ONDIO_SERIES)
/* 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.
* The Ondios have slow storage access and loading the entire voice file would
diff --git a/firmware/export/config/archosondiofm.h b/firmware/export/config/archosondiofm.h
index d735f1f0a1..516845e49d 100644
--- a/firmware/export/config/archosondiofm.h
+++ b/firmware/export/config/archosondiofm.h
@@ -3,6 +3,8 @@
#define MODEL_NAME "Ondio FM"
+#define ONDIO_SERIES
+
/* Define bitmask of input sources - recordable bitmask can be defined
explicitly if different */
#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
diff --git a/firmware/export/config/archosondiosp.h b/firmware/export/config/archosondiosp.h
index 61116033d7..ba957f7f44 100644
--- a/firmware/export/config/archosondiosp.h
+++ b/firmware/export/config/archosondiosp.h
@@ -3,6 +3,8 @@
#define MODEL_NAME "Ondio SP"
+#define ONDIO_SERIES
+
/* define this if you can flip your LCD */
#define HAVE_LCD_FLIP