forked from len0rd/rockbox
Make sure initial menu item is voiced at startup. Voice thread must wait for the audio thread to finish initializing hardware. A known issue at speex commit time (perhaps only by myself ;). The behavioral refinement time begins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15682 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e75327b332
commit
d6f2a54654
3 changed files with 11 additions and 3 deletions
|
|
@ -286,6 +286,7 @@ static void voice_thread(void)
|
|||
struct voice_thread_data td;
|
||||
|
||||
voice_data_init(&td);
|
||||
audio_wait_for_init();
|
||||
|
||||
goto message_wait;
|
||||
|
||||
|
|
@ -430,9 +431,6 @@ void voice_thread_resume(void)
|
|||
{
|
||||
logf("Thawing voice thread");
|
||||
thread_thaw(voice_thread_p);
|
||||
/* Wait for initialization to complete (a very short wait until the
|
||||
* voice thread is available to process messages) */
|
||||
queue_send(&voice_queue, Q_VOICE_NULL, 0);
|
||||
}
|
||||
|
||||
#ifdef HAVE_PRIORITY_SCHEDULING
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue