mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Added playlist shuffle menu option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@986 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
16c3c127ba
commit
aa26b5cbe3
3 changed files with 25 additions and 5 deletions
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
/* playlist data */
|
||||
|
||||
#define MAX_PLAYLIST_SIZE 1000
|
||||
#define MAX_PLAYLIST_SIZE 10000
|
||||
typedef struct
|
||||
{
|
||||
char filename[256]; /* path name of m3u playlist on disk */
|
||||
|
|
@ -32,6 +32,8 @@ typedef struct
|
|||
int amount; /* number of tracks in the index */
|
||||
} playlist_info_t;
|
||||
|
||||
extern playlist_info_t playlist;
|
||||
|
||||
void play_list(char *dir, char *file);
|
||||
char* playlist_next(int type);
|
||||
void randomise_playlist( playlist_info_t *playlist, unsigned int seed );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue