From 069bafe2152614a7d6e5343d805ac7ac4ffbd5ed Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Fri, 18 Dec 2009 04:25:56 +0000 Subject: 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 --- apps/plugins/doom/rockdoom.c | 5 +++++ docs/CREDITS | 1 + 2 files changed, 6 insertions(+) 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; } diff --git a/docs/CREDITS b/docs/CREDITS index 23fe2ee292..cdad69257b 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -509,6 +509,7 @@ Pavel Rzehák Diego Herranz Viktor Varga Juliusz Chroboczek +Christian Beier The libmad team The wavpack team -- cgit v1.2.3