summaryrefslogtreecommitdiff
path: root/apps/playlist.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-06-13 13:53:22 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-06-13 13:53:22 +0000
commitaa26b5cbe3642a747da2c1c1583d69299299805d (patch)
treee4a5cb8f9fd8c7134ec1ac9417b54606a07cd944 /apps/playlist.h
parent16c3c127ba0ad0b81cfab928e5119dfd39fbbecb (diff)
downloadrockbox-aa26b5cbe3642a747da2c1c1583d69299299805d.tar.gz
rockbox-aa26b5cbe3642a747da2c1c1583d69299299805d.zip
Added playlist shuffle menu option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@986 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.h')
-rw-r--r--apps/playlist.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index e02c0c5583..300c7aab65 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -22,7 +22,7 @@
22 22
23/* playlist data */ 23/* playlist data */
24 24
25#define MAX_PLAYLIST_SIZE 1000 25#define MAX_PLAYLIST_SIZE 10000
26typedef struct 26typedef struct
27{ 27{
28 char filename[256]; /* path name of m3u playlist on disk */ 28 char filename[256]; /* path name of m3u playlist on disk */
@@ -32,6 +32,8 @@ typedef struct
32 int amount; /* number of tracks in the index */ 32 int amount; /* number of tracks in the index */
33} playlist_info_t; 33} playlist_info_t;
34 34
35extern playlist_info_t playlist;
36
35void play_list(char *dir, char *file); 37void play_list(char *dir, char *file);
36char* playlist_next(int type); 38char* playlist_next(int type);
37void randomise_playlist( playlist_info_t *playlist, unsigned int seed ); 39void randomise_playlist( playlist_info_t *playlist, unsigned int seed );