From 6224cdb16677cae7b65b0598eec3381a6fb6a4aa Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Fri, 16 Aug 2002 14:41:47 +0000 Subject: Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1787 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/playlist.h') diff --git a/apps/playlist.h b/apps/playlist.h index 312964fd8c..e0c0841207 100644 --- a/apps/playlist.h +++ b/apps/playlist.h @@ -40,8 +40,9 @@ typedef struct extern playlist_info_t playlist; extern bool playlist_shuffle; -void play_list(char *dir, char *file, int start_index); -char* playlist_next(int steps); +void play_list(char *dir, char *file, int start_index, + int start_offset, int random_seed ); +char* playlist_next(int steps, int* id); void randomise_playlist( unsigned int seed ); void sort_playlist(void); void empty_playlist(void); -- cgit v1.2.3