1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
William Wilgus 2020-09-20 13:29:02 -04:00
parent c528c01312
commit 2ffe87902d
9 changed files with 90 additions and 12 deletions

View file

@ -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