summaryrefslogtreecommitdiff
path: root/apps/plugins/doom
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-12-18 04:25:56 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-12-18 04:25:56 +0000
commit069bafe2152614a7d6e5343d805ac7ac4ffbd5ed (patch)
tree373d1090fdf5396c7bb97a2573cbbb129f67d9b6 /apps/plugins/doom
parente7f2a1360914c6e48e7c7e75e41cbde51a04698c (diff)
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
Diffstat (limited to 'apps/plugins/doom')
-rw-r--r--apps/plugins/doom/rockdoom.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/doom/rockdoom.c b/apps/plugins/doom/rockdoom.c
index a76c9379b3..21efbc4147 100644
--- a/apps/plugins/doom/rockdoom.c
+++ b/apps/plugins/doom/rockdoom.c
@@ -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;
}