summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/playlist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index f352cb8422..59e0a78bf6 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -21,13 +21,14 @@
21#define __PLAYLIST_H__ 21#define __PLAYLIST_H__
22 22
23#include <stdbool.h> 23#include <stdbool.h>
24#include "file.h"
24 25
25/* playlist data */ 26/* playlist data */
26 27
27#define MAX_PLAYLIST_SIZE 10000 28#define MAX_PLAYLIST_SIZE 10000
28typedef struct 29typedef struct
29{ 30{
30 char filename[256]; /* path name of m3u playlist on disk */ 31 char filename[MAX_PATH]; /* path name of m3u playlist on disk */
31 int indices[MAX_PLAYLIST_SIZE]; /* array of indices */ 32 int indices[MAX_PLAYLIST_SIZE]; /* array of indices */
32 int index; /* index of *NEXT* track to play */ 33 int index; /* index of *NEXT* track to play */
33 int seed; /* random seed */ 34 int seed; /* random seed */