diff options
author | Steve Bavin <pondlife@pondlife.me> | 2007-10-19 15:31:42 +0000 |
---|---|---|
committer | Steve Bavin <pondlife@pondlife.me> | 2007-10-19 15:31:42 +0000 |
commit | 32a95751301a4aa5f51ea76b7eb3764d197dd6e3 (patch) | |
tree | 860d5e0c767cc53d038bb72ff19c237215dd3eee /apps/player | |
parent | 877ea486bad40bde6f8b969acc8af50f244884c0 (diff) |
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
Diffstat (limited to 'apps/player')
-rw-r--r-- | apps/player/keyboard.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/player/keyboard.c b/apps/player/keyboard.c index c89161c8ca..dad8fc0f55 100644 --- a/apps/player/keyboard.c +++ b/apps/player/keyboard.c @@ -74,7 +74,7 @@ static unsigned short *kbd_setupkeys(int page, int* len) /* helper function to spell a char if voice UI is enabled */ static void kbd_spellchar(char c) { - if (talk_menus_enabled()) /* voice UI? */ + if (global_settings.talk_menu) /* voice UI? */ { unsigned char tmp[5]; /* store char to pass to talk_spell */ @@ -90,7 +90,7 @@ static void kbd_spellchar(char c) static void say_edit(void) { - if (talk_menus_enabled()) + if (global_settings.talk_menu) talk_id(VOICE_EDIT, false); } @@ -112,7 +112,7 @@ int kbd_input(char* text, int buflen) editpos = utf8length(text); - if (talk_menus_enabled()) /* voice UI? */ + if (global_settings.talk_menu) /* voice UI? */ talk_spell(text, true); /* spell initial text */ while (!done) @@ -284,7 +284,7 @@ int kbd_input(char* text, int buflen) editpos++; } } - if (talk_menus_enabled()) /* voice UI? */ + if (global_settings.talk_menu) /* voice UI? */ talk_spell(text, false); /* speak revised text */ break; |