From 916a563fca3fab3dd59fd37af547e0109b73bed8 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 28 Aug 2007 18:08:48 +0000 Subject: 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 --- apps/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/main.c b/apps/main.c index 54787d6e9e..3d419407f4 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, -- cgit v1.2.3