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 d8a7b27d14..59568d8ff9 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)
372 { 372 {
373 voice_playing = true; 373 voice_playing = true;
374 dsp_configure(td->dsp, DSP_SET_OUT_FREQUENCY, mixer_get_frequency()); 374 dsp_configure(td->dsp, DSP_SET_OUT_FREQUENCY, mixer_get_frequency());
375 send_event(PLAYBACK_EVENT_VOICE_PLAYING, &voice_playing); 375 send_event(VOICE_EVENT_IS_PLAYING, &voice_playing);
376 } 376 }
377 377
378 quiet_counter = QUIET_COUNT; 378 quiet_counter = QUIET_COUNT;
@@ -406,7 +406,7 @@ static enum voice_state voice_message(struct voice_thread_data *td)
406 if (quiet_counter <= 0) 406 if (quiet_counter <= 0)
407 { 407 {
408 voice_playing = false; 408 voice_playing = false;
409 send_event(PLAYBACK_EVENT_VOICE_PLAYING, &voice_playing); 409 send_event(VOICE_EVENT_IS_PLAYING, &voice_playing);
410 } 410 }
411 break; 411 break;
412 } 412 }