forked from len0rd/rockbox
FS#6864 - iriver H340 doesn't connect via USB - should be fixed. Registered the voice queue but didn't create the thread.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12859 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3354531614
commit
571d3245f7
1 changed files with 1 additions and 1 deletions
|
@ -3737,7 +3737,6 @@ void audio_init(void)
|
||||||
hardware is initialized - audio thread unlocks it after final init
|
hardware is initialized - audio thread unlocks it after final init
|
||||||
stage */
|
stage */
|
||||||
mutex_lock(&mutex_codecthread);
|
mutex_lock(&mutex_codecthread);
|
||||||
queue_init(&voice_queue, true);
|
|
||||||
#endif
|
#endif
|
||||||
queue_init(&audio_queue, true);
|
queue_init(&audio_queue, true);
|
||||||
queue_enable_queue_send(&audio_queue, &audio_queue_sender_list);
|
queue_enable_queue_send(&audio_queue, &audio_queue_sender_list);
|
||||||
|
@ -3812,6 +3811,7 @@ void audio_init(void)
|
||||||
if (talk_voice_required())
|
if (talk_voice_required())
|
||||||
{
|
{
|
||||||
logf("Starting voice codec");
|
logf("Starting voice codec");
|
||||||
|
queue_init(&voice_queue, true);
|
||||||
create_thread(voice_thread, voice_stack,
|
create_thread(voice_thread, voice_stack,
|
||||||
sizeof(voice_stack), voice_thread_name
|
sizeof(voice_stack), voice_thread_name
|
||||||
IF_PRIO(, PRIORITY_PLAYBACK) IF_COP(, CPU, false));
|
IF_PRIO(, PRIORITY_PLAYBACK) IF_COP(, CPU, false));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue