From 583821bc323f4a49abd9f295a6eea01bb0f4473b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 23 Apr 2003 18:45:51 +0000 Subject: 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 --- apps/playlist.h | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/playlist.h') 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 @@ 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 index; /* index of current playing track */ -- cgit v1.2.3