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:
parent
e7f2a13609
commit
069bafe215
2 changed files with 6 additions and 0 deletions
|
|
@ -653,6 +653,9 @@ extern int systemvol;
|
||||||
/* this is the plugin entry point */
|
/* this is the plugin entry point */
|
||||||
enum plugin_status plugin_start(const void* parameter)
|
enum plugin_status plugin_start(const void* parameter)
|
||||||
{
|
{
|
||||||
|
/* Disable all talking before initializing IRAM */
|
||||||
|
rb->talk_disable(true);
|
||||||
|
|
||||||
PLUGIN_IRAM_INIT(rb)
|
PLUGIN_IRAM_INIT(rb)
|
||||||
|
|
||||||
(void)parameter;
|
(void)parameter;
|
||||||
|
|
@ -686,6 +689,7 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||||
rb->cpu_boost(false);
|
rb->cpu_boost(false);
|
||||||
#endif
|
#endif
|
||||||
|
rb->talk_disable(false);
|
||||||
if( result == -1 )
|
if( result == -1 )
|
||||||
return PLUGIN_OK; // Quit was selected
|
return PLUGIN_OK; // Quit was selected
|
||||||
else
|
else
|
||||||
|
|
@ -752,5 +756,6 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
rb->cpu_boost(false);
|
rb->cpu_boost(false);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
rb->talk_disable(false);
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -509,6 +509,7 @@ Pavel Rzehák
|
||||||
Diego Herranz
|
Diego Herranz
|
||||||
Viktor Varga
|
Viktor Varga
|
||||||
Juliusz Chroboczek
|
Juliusz Chroboczek
|
||||||
|
Christian Beier
|
||||||
|
|
||||||
The libmad team
|
The libmad team
|
||||||
The wavpack team
|
The wavpack team
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue