summaryrefslogtreecommitdiffstats
path: root/apps/voice_thread.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-09-20 13:29:02 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2020-09-20 16:08:49 -0400
commit2ffe87902dc72b4c26032c94e8250ff92d2888dc (patch)
tree9a6cf73d37a5a5e3f93813b44720c1bd5604ddd9 /apps/voice_thread.h
parentc528c01312d85e2d177bcc05ce82a29c97b803cc (diff)
downloadrockbox-2ffe87902dc72b4c26032c94e8250ff92d2888dc.tar.gz
rockbox-2ffe87902dc72b4c26032c94e8250ff92d2888dc.tar.bz2
rockbox-2ffe87902dc72b4c26032c94e8250ff92d2888dc.zip
Add Invalid Voice Announcement to the voice system FS#13216
When a voice file is invalid or fails to load the voice system splash a message 'Invalid Voice' Now we supply a single voice file (currently only english is used) the support for other languages is in but I haven't set it up to look for anything but InvalidVoice_english.talk Also adds a one time kill voice thread function ie. it doesn't allow re-init after killing the voice thread & queue Change-Id: I7b43f340c3cc65c65110190f0e0075b31218a7ac
Diffstat (limited to 'apps/voice_thread.h')
-rw-r--r--apps/voice_thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/voice_thread.h b/apps/voice_thread.h
index d662aaee33..81b11eea37 100644
--- a/apps/voice_thread.h
+++ b/apps/voice_thread.h
@@ -36,6 +36,8 @@ void voice_wait(void);
void voice_stop(void);
void voice_thread_init(void);
+void voice_thread_kill(void);
+
#ifdef HAVE_PRIORITY_SCHEDULING
void voice_thread_set_priority(int priority);
#endif