summaryrefslogtreecommitdiff
path: root/apps/playlist.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-08-21 15:08:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-08-21 15:08:01 +0000
commit01bc8e682ad855ae74193dcfa4bb1e24ac0662b8 (patch)
treeea96479d3428da958c0d0c0be8c9a70dcb5e6443 /apps/playlist.h
parent3b8ec06f0ef39427f7e3e43a41cefaaddcc7e29c (diff)
downloadrockbox-01bc8e682ad855ae74193dcfa4bb1e24ac0662b8.tar.gz
rockbox-01bc8e682ad855ae74193dcfa4bb1e24ac0662b8.zip
play_list() is now modified to accept a playlist index that is either
meant in the unshuffled list or in the shuffled. There's an extra parameter giving that info (which of course only makes sense when shuffle is enabled). This should make resume work with play-all-dir in shuffled mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1889 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.h')
-rw-r--r--apps/playlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index e0c0841207..f44372e76d 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -40,8 +40,8 @@ typedef struct
40extern playlist_info_t playlist; 40extern playlist_info_t playlist;
41extern bool playlist_shuffle; 41extern bool playlist_shuffle;
42 42
43void play_list(char *dir, char *file, int start_index, 43int play_list(char *dir, char *file, int start_index,
44 int start_offset, int random_seed ); 44 bool shuffled_index, int start_offset, int random_seed );
45char* playlist_next(int steps, int* id); 45char* playlist_next(int steps, int* id);
46void randomise_playlist( unsigned int seed ); 46void randomise_playlist( unsigned int seed );
47void sort_playlist(void); 47void sort_playlist(void);