From caf907eef137dea6e29468d3311ce8197217900f Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 25 May 2011 08:35:31 +0000 Subject: 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 --- apps/appevents.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/appevents.h') 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 @@ /** Playback events **/ enum { + /* Playback is starting from a stopped state */ PLAYBACK_EVENT_START_PLAYBACK = (EVENT_CLASS_PLAYBACK|1), + /* Audio has begun buffering for decoding track (or is already completed) */ PLAYBACK_EVENT_TRACK_BUFFER, + /* Handles for current user track are ready (other than audio or codec) */ + PLAYBACK_EVENT_CUR_TRACK_READY, + /* Current user track finished */ PLAYBACK_EVENT_TRACK_FINISH, + /* A new current user track has begun */ PLAYBACK_EVENT_TRACK_CHANGE, + /* A manual skip is about to be processed */ PLAYBACK_EVENT_TRACK_SKIP, + /* Next track medadata was just loaded */ PLAYBACK_EVENT_NEXTTRACKID3_AVAILABLE, }; -- cgit v1.2.3