summaryrefslogtreecommitdiff
path: root/apps/voice_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/voice_thread.c')
-rw-r--r--apps/voice_thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/voice_thread.c b/apps/voice_thread.c
index d8a7b27..59568d8 100644
--- a/apps/voice_thread.c
+++ b/apps/voice_thread.c
@@ -372,7 +372,7 @@ static enum voice_state voice_message(struct voice_thread_data *td)
{
voice_playing = true;
dsp_configure(td->dsp, DSP_SET_OUT_FREQUENCY, mixer_get_frequency());
- send_event(PLAYBACK_EVENT_VOICE_PLAYING, &voice_playing);
+ send_event(VOICE_EVENT_IS_PLAYING, &voice_playing);
}
quiet_counter = QUIET_COUNT;
@@ -406,7 +406,7 @@ static enum voice_state voice_message(struct voice_thread_data *td)
if (quiet_counter <= 0)
{
voice_playing = false;
- send_event(PLAYBACK_EVENT_VOICE_PLAYING, &voice_playing);
+ send_event(VOICE_EVENT_IS_PLAYING, &voice_playing);
}
break;
}