summaryrefslogtreecommitdiff
path: root/apps/audio_thread.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-28 15:34:53 +0100
committerThomas Martitz <kugel@rockbox.org>2014-02-02 19:40:38 +0100
commit428f069a1f1da9fe5461d2c2359f3da1bfb63e0a (patch)
tree060c85a8f86fc2ba706c6ab6a41e05ccd39ebb65 /apps/audio_thread.c
parent4ce39f7e73b1d1ca4ac5c906d9f9593f46872133 (diff)
downloadrockbox-428f069a1f1da9fe5461d2c2359f3da1bfb63e0a.tar.gz
rockbox-428f069a1f1da9fe5461d2c2359f3da1bfb63e0a.zip
talk: Remove superflous call to talk_init().
talk_init() is called by settings_apply() already which is called on boot. Doing it again means loading the voicefile a second time which isn't necessary. Change-Id: I4decd16401e63bf87338d3163c99d06d69fe3a3c
Diffstat (limited to 'apps/audio_thread.c')
-rw-r--r--apps/audio_thread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/audio_thread.c b/apps/audio_thread.c
index 4750d0cc43..3af8b2bbf6 100644
--- a/apps/audio_thread.c
+++ b/apps/audio_thread.c
@@ -170,10 +170,6 @@ void INIT_ATTR audio_init(void)
170 recording_init(); 170 recording_init();
171#endif 171#endif
172 172
173 /* ...now...audio_reset_buffer must know the size of voicefile buffer so
174 init talk first which will init the buffers */
175 talk_init();
176
177 /* Probably safe to say */ 173 /* Probably safe to say */
178 audio_is_initialized = true; 174 audio_is_initialized = true;
179 175