Made playlist shuffle an option instead of an action

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1031 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-06-17 10:36:42 +00:00
parent dbf59f490e
commit fc2bb6cd20
3 changed files with 30 additions and 11 deletions

View file

@ -20,6 +20,8 @@
#ifndef __PLAYLIST_H__
#define __PLAYLIST_H__
#include <stdbool.h>
/* playlist data */
#define MAX_PLAYLIST_SIZE 10000
@ -33,6 +35,7 @@ typedef struct
} playlist_info_t;
extern playlist_info_t playlist;
extern bool playlist_shuffle;
void play_list(char *dir, char *file);
char* playlist_next(int type);