summaryrefslogtreecommitdiff
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.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 */
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
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 @@
3 3
4#define MODEL_NAME "Ondio FM" 4#define MODEL_NAME "Ondio FM"
5 5
6#define ONDIO_SERIES
7
6/* Define bitmask of input sources - recordable bitmask can be defined 8/* Define bitmask of input sources - recordable bitmask can be defined
7 explicitly if different */ 9 explicitly if different */
8#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN) 10#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 @@
3 3
4#define MODEL_NAME "Ondio SP" 4#define MODEL_NAME "Ondio SP"
5 5
6#define ONDIO_SERIES
7
6/* define this if you can flip your LCD */ 8/* define this if you can flip your LCD */
7#define HAVE_LCD_FLIP 9#define HAVE_LCD_FLIP
8 10