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:
Michael Sevakis 2007-10-02 20:24:25 +00:00
parent 4748dc305e
commit 51a8a1e3f3

View file

@ -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;
}