diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-17 23:23:57 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-17 23:23:57 +0000 |
commit | 3a62b56740856226e6debf6c2f7a6cdb0435db80 (patch) | |
tree | 323922355dd560a4d7b582f4263378679c624135 /apps/playlist.h | |
parent | 529e166888905b6ed5998c72148904d141845863 (diff) | |
download | rockbox-3a62b56740856226e6debf6c2f7a6cdb0435db80.tar.gz rockbox-3a62b56740856226e6debf6c2f7a6cdb0435db80.zip |
Now uses MAX_PATH
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1378 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.h')
-rw-r--r-- | apps/playlist.h | 3 |
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 |
28 | typedef struct | 29 | typedef 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 */ |