1
0
Fork 0
forked from len0rd/rockbox

Accept FS #10271 by Christian Beier: Automatically disable voice upon rockdoom startup.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24063 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2009-12-18 04:25:56 +00:00
parent e7f2a13609
commit 069bafe215
2 changed files with 6 additions and 0 deletions

View file

@ -653,6 +653,9 @@ extern int systemvol;
/* this is the plugin entry point */
enum plugin_status plugin_start(const void* parameter)
{
/* Disable all talking before initializing IRAM */
rb->talk_disable(true);
PLUGIN_IRAM_INIT(rb)
(void)parameter;
@ -686,6 +689,7 @@ enum plugin_status plugin_start(const void* parameter)
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
rb->cpu_boost(false);
#endif
rb->talk_disable(false);
if( result == -1 )
return PLUGIN_OK; // Quit was selected
else
@ -752,5 +756,6 @@ enum plugin_status plugin_start(const void* parameter)
rb->cpu_boost(false);
#endif
rb->talk_disable(false);
return PLUGIN_OK;
}

View file

@ -509,6 +509,7 @@ Pavel Rzehák
Diego Herranz
Viktor Varga
Juliusz Chroboczek
Christian Beier
The libmad team
The wavpack team