This should fix the voice issues in menus in mpegplayer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14962 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4748dc305e
commit
51a8a1e3f3
1 changed files with 4 additions and 0 deletions
|
@ -1780,6 +1780,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
long graysize;
|
||||
int grayscales;
|
||||
#endif
|
||||
bool talk_menu;
|
||||
|
||||
if (parameter == NULL)
|
||||
{
|
||||
|
@ -1871,6 +1872,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
|
||||
/* Turn off backlight timeout */
|
||||
backlight_force_on(rb); /* backlight control in lib/helper.c */
|
||||
talk_menu = rb->global_settings->talk_menu;
|
||||
rb->global_settings->talk_menu = false;
|
||||
|
||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||
rb->cpu_boost(true);
|
||||
|
@ -2011,6 +2014,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
|
||||
/* Turn on backlight timeout (revert to settings) */
|
||||
backlight_use_settings(rb); /* backlight control in lib/helper.c */
|
||||
rb->global_settings->talk_menu = talk_menu;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue