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
This commit is contained in:
Michael Sevakis 2012-05-30 18:42:16 -04:00
parent 77220147b5
commit ba8e4367fb

View file

@ -282,7 +282,7 @@ static void init_tagcache(void) INIT_ATTR;
static void init_tagcache(void) static void init_tagcache(void)
{ {
bool clear = false; bool clear = false;
#if CONFIG_CODEC == SWCODEC #if 0 /* CONFIG_CODEC == SWCODEC */
long talked_tick = 0; long talked_tick = 0;
#endif #endif
tagcache_init(); tagcache_init();
@ -293,7 +293,7 @@ static void init_tagcache(void)
if (ret > 0) 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 /* hwcodec can't use voice here, as the database commit
* uses the audio buffer. */ * uses the audio buffer. */
if(global_settings.talk_menu if(global_settings.talk_menu