1
0
Fork 0
forked from len0rd/rockbox

FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not just menus), hopefully save some space.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Steve Bavin 2007-10-19 15:31:42 +00:00
parent 877ea486ba
commit 32a9575130
22 changed files with 161 additions and 186 deletions

View file

@ -225,7 +225,7 @@ static void init_tagcache(void)
/* hwcodec can't use voice here, as the database commit
* uses the audio buffer. */
static long talked_tick = 0;
if(talk_menus_enabled()
if(global_settings.talk_menu
&& (talked_tick == 0
|| TIME_AFTER(current_tick, talked_tick+7*HZ)))
{