From 71a07bebe6b633a364424ed779a7d6bbfa0fa520 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 28 Aug 2002 09:22:44 +0000 Subject: modified the playlist system slightly: playlist_peek() returns info relative the current index playlist_next() advances the index back or forth (this breaks the build, mpeg fixes are pending) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2022 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/playlist.h') diff --git a/apps/playlist.h b/apps/playlist.h index 5abeec3176..a18240db7f 100644 --- a/apps/playlist.h +++ b/apps/playlist.h @@ -42,7 +42,8 @@ extern bool playlist_shuffle; int play_list(char *dir, char *file, int start_index, bool shuffled_index, int start_offset, int random_seed ); -char* playlist_next(int steps, int* id); +char* playlist_peek(int steps); +int playlist_next(int steps); void randomise_playlist( unsigned int seed ); void sort_playlist(bool start_current); void empty_playlist(void); -- cgit v1.2.3