diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-08-21 15:08:01 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-21 15:08:01 +0000 |
commit | 01bc8e682ad855ae74193dcfa4bb1e24ac0662b8 (patch) | |
tree | ea96479d3428da958c0d0c0be8c9a70dcb5e6443 /apps/playlist.h | |
parent | 3b8ec06f0ef39427f7e3e43a41cefaaddcc7e29c (diff) | |
download | rockbox-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.h | 4 |
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 | |||
40 | extern playlist_info_t playlist; | 40 | extern playlist_info_t playlist; |
41 | extern bool playlist_shuffle; | 41 | extern bool playlist_shuffle; |
42 | 42 | ||
43 | void play_list(char *dir, char *file, int start_index, | 43 | int 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 ); |
45 | char* playlist_next(int steps, int* id); | 45 | char* playlist_next(int steps, int* id); |
46 | void randomise_playlist( unsigned int seed ); | 46 | void randomise_playlist( unsigned int seed ); |
47 | void sort_playlist(void); | 47 | void sort_playlist(void); |