From ba8e4367fb4d116ffc01c12cc619bfc714e582c9 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 30 May 2012 18:42:16 -0400 Subject: [PATCH] Disable attempts to voice init_tagcache. It just cannot work anyways because init_tagcache is called before audio_init. Besides, FS#12684 may be helped for now as well. Change-Id: I2bb4f81f807bae509b220ee6656a6a109b5eb011 --- apps/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/main.c b/apps/main.c index 0fff0846a6..4ce72497d7 100644 --- a/apps/main.c +++ b/apps/main.c @@ -282,7 +282,7 @@ static void init_tagcache(void) INIT_ATTR; static void init_tagcache(void) { bool clear = false; -#if CONFIG_CODEC == SWCODEC +#if 0 /* CONFIG_CODEC == SWCODEC */ long talked_tick = 0; #endif tagcache_init(); @@ -293,7 +293,7 @@ static void init_tagcache(void) if (ret > 0) { -#if CONFIG_CODEC == SWCODEC +#if 0 /* FIXME: Audio isn't even initialized yet! */ /* CONFIG_CODEC == SWCODEC */ /* hwcodec can't use voice here, as the database commit * uses the audio buffer. */ if(global_settings.talk_menu