summaryrefslogtreecommitdiff
path: root/apps/appevents.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-05-25 08:35:31 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-05-25 08:35:31 +0000
commitcaf907eef137dea6e29468d3311ce8197217900f (patch)
tree1e2b818d93277d7809d7de973edbabe4646333fe /apps/appevents.h
parent2e3162f039fdb4d48aa5c9a1bf6c11ac9439a514 (diff)
downloadrockbox-caf907eef137dea6e29468d3311ce8197217900f.tar.gz
rockbox-caf907eef137dea6e29468d3311ce8197217900f.zip
Workaround an occasional problem where album art or cuesheets might not be ready by the time the track change event is send which can result in the WPS not immediately being aware that the handles are ready. A better solution will be sought that hopefully doesn't require the additional event.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29923 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/appevents.h')
-rw-r--r--apps/appevents.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/appevents.h b/apps/appevents.h
index a303491ae9..36e19b0df7 100644
--- a/apps/appevents.h
+++ b/apps/appevents.h
@@ -31,11 +31,19 @@
31 31
32/** Playback events **/ 32/** Playback events **/
33enum { 33enum {
34 /* Playback is starting from a stopped state */
34 PLAYBACK_EVENT_START_PLAYBACK = (EVENT_CLASS_PLAYBACK|1), 35 PLAYBACK_EVENT_START_PLAYBACK = (EVENT_CLASS_PLAYBACK|1),
36 /* Audio has begun buffering for decoding track (or is already completed) */
35 PLAYBACK_EVENT_TRACK_BUFFER, 37 PLAYBACK_EVENT_TRACK_BUFFER,
38 /* Handles for current user track are ready (other than audio or codec) */
39 PLAYBACK_EVENT_CUR_TRACK_READY,
40 /* Current user track finished */
36 PLAYBACK_EVENT_TRACK_FINISH, 41 PLAYBACK_EVENT_TRACK_FINISH,
42 /* A new current user track has begun */
37 PLAYBACK_EVENT_TRACK_CHANGE, 43 PLAYBACK_EVENT_TRACK_CHANGE,
44 /* A manual skip is about to be processed */
38 PLAYBACK_EVENT_TRACK_SKIP, 45 PLAYBACK_EVENT_TRACK_SKIP,
46 /* Next track medadata was just loaded */
39 PLAYBACK_EVENT_NEXTTRACKID3_AVAILABLE, 47 PLAYBACK_EVENT_NEXTTRACKID3_AVAILABLE,
40}; 48};
41 49