diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2017-12-12 20:14:34 -0500 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2017-12-12 20:28:56 -0500 |
| commit | c8564f1ca8287eba9220df191d13c949bb49c8ce (patch) | |
| tree | 7428918a9a6660dd53eefc7bf2be047e9eddccf0 /apps/appevents.h | |
| parent | 838ff9c67d4ade0e0e0ee7132eb933a7c861d384 (diff) | |
| download | rockbox-c8564f1ca8287eba9220df191d13c949bb49c8ce.zip rockbox-c8564f1ca8287eba9220df191d13c949bb49c8ce.tar.gz rockbox-c8564f1ca8287eba9220df191d13c949bb49c8ce.tar.bz2 rockbox-c8564f1ca8287eba9220df191d13c949bb49c8ce.tar.xz | |
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/appevents.h')
| -rw-r--r-- | apps/appevents.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/appevents.h b/apps/appevents.h index 8677dbd..1efd803 100644 --- a/apps/appevents.h +++ b/apps/appevents.h @@ -52,9 +52,13 @@ enum { /* Next track medadata was just loaded data = &(struct track_event){} */ PLAYBACK_EVENT_NEXTTRACKID3_AVAILABLE, +}; + +/** VOICE events **/ +enum { /* Voice is playing data = &(bool){true|false} */ - PLAYBACK_EVENT_VOICE_PLAYING, + VOICE_EVENT_IS_PLAYING = (EVENT_CLASS_VOICE|1), }; /** Buffering events **/ |