summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-03-20 14:09:50 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-03-20 14:09:50 +0000
commit571d3245f70da809241df6fe50a0174ecb4ebf9c (patch)
tree36b2efbcdcfa664c898d496d099bad143cad1f8f /apps/playback.c
parent3354531614340b9a6b32cbf1b1d9b29a7c0b6513 (diff)
downloadrockbox-571d3245f70da809241df6fe50a0174ecb4ebf9c.zip
rockbox-571d3245f70da809241df6fe50a0174ecb4ebf9c.tar.gz
rockbox-571d3245f70da809241df6fe50a0174ecb4ebf9c.tar.bz2
rockbox-571d3245f70da809241df6fe50a0174ecb4ebf9c.tar.xz
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
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c
index ef525a5..ca30e0c 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));