summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-08-28 18:08:48 +0000
committerJens Arnold <amiconn@rockbox.org>2007-08-28 18:08:48 +0000
commit916a563fca3fab3dd59fd37af547e0109b73bed8 (patch)
treeb777af28e4552b51ef42da483e512a27313c4536
parentbe4d0a77955f6ae62de8812dc9624a3dd0ea2a74 (diff)
downloadrockbox-916a563fca3fab3dd59fd37af547e0109b73bed8.zip
rockbox-916a563fca3fab3dd59fd37af547e0109b73bed8.tar.gz
rockbox-916a563fca3fab3dd59fd37af547e0109b73bed8.tar.bz2
rockbox-916a563fca3fab3dd59fd37af547e0109b73bed8.tar.xz
Disable voicing of the database commit splash on hwcodec. It doesn't work anyway as the database commit takes the audio buffer, and trying it breaks voice afterwards until reboot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14490 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c
index 54787d6..3d41940 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -221,6 +221,9 @@ static void init_tagcache(void)
if (ret > 0)
{
+#if CONFIG_CODEC == SWCODEC
+ /* hwcodec can't use voice here, as the database commit
+ * uses the audio buffer. */
static long talked_tick = 0;
if(talk_menus_enabled()
&& (talked_tick == 0
@@ -232,6 +235,7 @@ static void init_tagcache(void)
talk_id(VOICE_OF, true);
talk_number(tagcache_get_max_commit_step(), true);
}
+#endif
#ifdef HAVE_LCD_BITMAP
gui_syncsplash(0, "%s [%d/%d]",
str(LANG_TAGCACHE_INIT), ret,