summaryrefslogtreecommitdiffstats
path: root/apps/voice_thread.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-12-12 20:14:34 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-12-12 20:28:56 -0500
commitc8564f1ca8287eba9220df191d13c949bb49c8ce (patch)
tree7428918a9a6660dd53eefc7bf2be047e9eddccf0 /apps/voice_thread.c
parent838ff9c67d4ade0e0e0ee7132eb933a7c861d384 (diff)
downloadrockbox-c8564f1ca8287eba9220df191d13c949bb49c8ce.tar.gz
rockbox-c8564f1ca8287eba9220df191d13c949bb49c8ce.tar.bz2
rockbox-c8564f1ca8287eba9220df191d13c949bb49c8ce.zip
Get voice event out of playback.c
Purpose: A step in removing all voice references from playback code and prelude to other changes. Change-Id: Ic3ad7f7a33b979693e18a3456ced37eb1d2281a4
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)
{
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;
}