diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c index ea26ed12ab..457553067e 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -233,6 +233,14 @@ static void audio_stop_playback(void); | |||
233 | 233 | ||
234 | /**************************************/ | 234 | /**************************************/ |
235 | 235 | ||
236 | /** Playlist callback */ | ||
237 | |||
238 | /* This callback is required to update the resume index in case of changing | ||
239 | * a playlist and pausing/resuming before the next track change. */ | ||
240 | void playback_set_playlist_index(int index) | ||
241 | { | ||
242 | thistrack_id3->index = index; | ||
243 | } | ||
236 | 244 | ||
237 | /** Pcmbuf callbacks */ | 245 | /** Pcmbuf callbacks */ |
238 | 246 | ||