diff options
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r-- | apps/gui/wps.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 0103ace53c..e686fcc533 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c | |||
@@ -1203,6 +1203,11 @@ static void wps_state_init(void) | |||
1203 | /* add the WPS track event callbacks */ | 1203 | /* add the WPS track event callbacks */ |
1204 | add_event(PLAYBACK_EVENT_TRACK_CHANGE, false, track_changed_callback); | 1204 | add_event(PLAYBACK_EVENT_TRACK_CHANGE, false, track_changed_callback); |
1205 | add_event(PLAYBACK_EVENT_NEXTTRACKID3_AVAILABLE, false, nextid3available_callback); | 1205 | add_event(PLAYBACK_EVENT_NEXTTRACKID3_AVAILABLE, false, nextid3available_callback); |
1206 | #if CONFIG_CODEC == SWCODEC | ||
1207 | /* Use the same callback as ..._TRACK_CHANGE for when remaining handles have | ||
1208 | finished */ | ||
1209 | add_event(PLAYBACK_EVENT_CUR_TRACK_READY, false, track_changed_callback); | ||
1210 | #endif | ||
1206 | #ifdef AUDIO_FAST_SKIP_PREVIEW | 1211 | #ifdef AUDIO_FAST_SKIP_PREVIEW |
1207 | add_event(PLAYBACK_EVENT_TRACK_SKIP, false, track_skip_callback); | 1212 | add_event(PLAYBACK_EVENT_TRACK_SKIP, false, track_skip_callback); |
1208 | #endif | 1213 | #endif |