summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-11-03 05:14:09 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-11-03 05:14:09 +0000
commit4bce3ad98a3e1527cd18cec0e8c4bd4ea7a5fb8f (patch)
tree33bb159c1d67284c262e861ffe0b2a9c097004d9 /apps/playback.c
parentda93299865a58e3c0c86b4065a4dbbc566b2317b (diff)
Use the correct event state constants.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15423 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 3be5be3098..0a929e634a 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1344,7 +1344,7 @@ static void voice_thread(void)
logf("Loading voice codec");
voice_codec_loaded = true;
semaphore_wait(&sem_codecthread);
- event_set_state(&event_codecthread, false);
+ event_set_state(&event_codecthread, STATE_NONSIGNALED);
set_current_codec(CODEC_IDX_VOICE);
dsp_configure(DSP_RESET, 0);
voice_remaining = 0;
@@ -1839,7 +1839,7 @@ static void codec_thread(void)
queue_post(&voice_queue, Q_AUDIO_PLAY, 0);
}
semaphore_wait(&sem_codecthread);
- event_set_state(&event_codecthread, true);
+ event_set_state(&event_codecthread, STATE_SIGNALED);
#endif
set_current_codec(CODEC_IDX_AUDIO);
ci.stop_codec = false;
@@ -1871,7 +1871,7 @@ static void codec_thread(void)
queue_post(&voice_queue, Q_AUDIO_PLAY, 0);
}
semaphore_wait(&sem_codecthread);
- event_set_state(&event_codecthread, true);
+ event_set_state(&event_codecthread, STATE_SIGNALED);
#endif
set_current_codec(CODEC_IDX_AUDIO);
ci.stop_codec = false;
@@ -1893,7 +1893,7 @@ static void codec_thread(void)
queue_post(&voice_queue, Q_ENCODER_RECORD, 0);
}
semaphore_wait(&sem_codecthread);
- event_set_state(&event_codecthread, true);
+ event_set_state(&event_codecthread, STATE_SIGNALED);
#endif
logf("loading encoder");
set_current_codec(CODEC_IDX_AUDIO);