From 571d3245f70da809241df6fe50a0174ecb4ebf9c Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Tue, 20 Mar 2007 14:09:50 +0000 Subject: [PATCH] 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 --- apps/playback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/playback.c b/apps/playback.c index ef525a5776..ca30e0cdff 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -3737,7 +3737,6 @@ void audio_init(void) hardware is initialized - audio thread unlocks it after final init stage */ mutex_lock(&mutex_codecthread); - queue_init(&voice_queue, true); #endif queue_init(&audio_queue, true); queue_enable_queue_send(&audio_queue, &audio_queue_sender_list); @@ -3812,6 +3811,7 @@ void audio_init(void) if (talk_voice_required()) { logf("Starting voice codec"); + queue_init(&voice_queue, true); create_thread(voice_thread, voice_stack, sizeof(voice_stack), voice_thread_name IF_PRIO(, PRIORITY_PLAYBACK) IF_COP(, CPU, false));