diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-04-23 18:45:51 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-04-23 18:45:51 +0000 |
commit | 583821bc323f4a49abd9f295a6eea01bb0f4473b (patch) | |
tree | 439546a79d2f1d4c249315d67abe658762cff70f /apps/playlist.h | |
parent | 6cafc14e75e09922cc8723773da3a7daa59fa89c (diff) | |
download | rockbox-583821bc323f4a49abd9f295a6eea01bb0f4473b.tar.gz rockbox-583821bc323f4a49abd9f295a6eea01bb0f4473b.zip |
Keep the playlist open all the time, to reduce mid-song times caused by the
closure and reopening of the playlist.
Consider this slightly experimental. Can you detect a speed difference?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3592 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.h')
-rw-r--r-- | apps/playlist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/playlist.h b/apps/playlist.h index ea77886bb7..9f70b469af 100644 --- a/apps/playlist.h +++ b/apps/playlist.h | |||
@@ -29,6 +29,7 @@ | |||
29 | struct playlist_info | 29 | struct playlist_info |
30 | { | 30 | { |
31 | char filename[MAX_PATH]; /* path name of m3u playlist on disk */ | 31 | char filename[MAX_PATH]; /* path name of m3u playlist on disk */ |
32 | int fd; /* file descriptor of the open playlist */ | ||
32 | int dirlen; /* Length of the path to the playlist file */ | 33 | int dirlen; /* Length of the path to the playlist file */ |
33 | int indices[MAX_PLAYLIST_SIZE]; /* array of indices */ | 34 | int indices[MAX_PLAYLIST_SIZE]; /* array of indices */ |
34 | int index; /* index of current playing track */ | 35 | int index; /* index of current playing track */ |