forked from len0rd/rockbox
Step 4 of voice UI:
- "talkbox" functionality added, but yet without thumbnail recording - menu under "general settings" to configure voice - directories and folders can be voiced as a numbers git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4440 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a9c645f887
commit
3aa99e14cd
10 changed files with 239 additions and 9 deletions
|
|
@ -243,7 +243,7 @@ static void put_cursor(int m, int target)
|
|||
if (do_update)
|
||||
{ /* "say" the entry under the cursor */
|
||||
int voice_id = menus[m].items[menus[m].cursor].voice_id;
|
||||
if (voice_id >= 0) /* valid ID given? */
|
||||
if (voice_id >= 0 && global_settings.talk_menu) /* valid ID given? */
|
||||
talk_id(voice_id, false); /* say it */
|
||||
}
|
||||
|
||||
|
|
@ -320,7 +320,7 @@ int menu_show(int m)
|
|||
|
||||
/* say current entry */
|
||||
voice_id = menus[m].items[menus[m].cursor].voice_id;
|
||||
if (voice_id >= 0) /* valid ID given? */
|
||||
if (voice_id >= 0 && global_settings.talk_menu) /* valid ID given? */
|
||||
talk_id(voice_id, false); /* say it */
|
||||
|
||||
while (!exit) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue