1
0
Fork 0
forked from len0rd/rockbox

Fix regressions of r29682. Update playlist index resume position when playlist changes (e.g. shuffling, inserting, removing, ...).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29690 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-04-07 20:33:00 +00:00
parent 37990206dd
commit 4df825be43
3 changed files with 27 additions and 0 deletions

View file

@ -233,6 +233,14 @@ static void audio_stop_playback(void);
/**************************************/
/** Playlist callback */
/* This callback is required to update the resume index in case of changing
* a playlist and pausing/resuming before the next track change. */
void playback_set_playlist_index(int index)
{
thistrack_id3->index = index;
}
/** Pcmbuf callbacks */