mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Playing Time plugin: Fix calculation for shuffled playlists
Playing Time produced incorrect results when the playlist's first index wasn't 0. Change-Id: I1c11b876e0e435c824c9ddc0863fd7ee76bda073
This commit is contained in:
parent
9c79a4449a
commit
ba62798746
3 changed files with 27 additions and 12 deletions
|
@ -972,6 +972,8 @@ struct plugin_api {
|
|||
#ifdef HAVE_TAGCACHE
|
||||
void (*tagcache_commit_finalize)(void);
|
||||
#endif
|
||||
int (*playlist_get_first_index)(const struct playlist_info* playlist);
|
||||
int (*playlist_get_display_index)(void);
|
||||
};
|
||||
|
||||
/* plugin header */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue