summaryrefslogtreecommitdiffstats
path: root/apps/playlist.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-05-09 16:01:21 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-05-09 16:01:21 +0000
commit20d031f9c70109dae2ea320a4c7264e1e489d8eb (patch)
tree4459bf0a6cbba8e557b60397acfff6f5be3bda10 /apps/playlist.h
parentaf2b7adefe31839bebbc407083d980a112e7242c (diff)
downloadrockbox-20d031f9c70109dae2ea320a4c7264e1e489d8eb.tar.gz
rockbox-20d031f9c70109dae2ea320a4c7264e1e489d8eb.tar.bz2
rockbox-20d031f9c70109dae2ea320a4c7264e1e489d8eb.zip
Configurable dir browser file buffer size. No more 400-file limit. No more whining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.h')
-rw-r--r--apps/playlist.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index 2ea4452cca..9ff5122f44 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -31,7 +31,10 @@ struct playlist_info
char filename[MAX_PATH]; /* path name of m3u playlist on disk */
int fd; /* file descriptor of the open playlist */
int dirlen; /* Length of the path to the playlist file */
- int indices[MAX_PLAYLIST_SIZE]; /* array of indices */
+ int *indices; /* array of indices */
+ int max_playlist_size; /* Max number of files in playlist. Mirror of
+ global_settings.max_files_in_playlist */
+ int buffer_size; /* Playlist buffer size */
int index; /* index of current playing track */
int first_index; /* index of first song in playlist */
int seed; /* random seed */