From ae601954aac6eae74ffc2603031f7ebc617aeeb3 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 6 Nov 2011 14:25:33 +0000 Subject: [PATCH] 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 --- apps/talk.c | 3 +-- firmware/export/config/archosondiofm.h | 2 ++ firmware/export/config/archosondiosp.h | 2 ++ 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