summaryrefslogtreecommitdiff
path: root/apps/playlist.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-01-17 14:45:07 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-01-17 15:27:47 -0500
commit16a9f84571276a13f4cfd5c66db8cd63ce4e2e7f (patch)
treec1a746cbf9ef8b7780b8ffd06783c75a97941373 /apps/playlist.h
parenta931c76b3a46d1884e985a3bfc82b947521dab97 (diff)
downloadrockbox-16a9f84571276a13f4cfd5c66db8cd63ce4e2e7f.tar.gz
rockbox-16a9f84571276a13f4cfd5c66db8cd63ce4e2e7f.zip
Reenable database ramcache and playlist dircache
Playlist dircache references should be back in working order. Reenabling dircache references in the database ramcache is not yet done as it requires quite a bit of rework. Otherwise, the database in RAM is functional again. Some buffer compatibility changes have been made for database commit because the dircache buffer can no longer be stolen, only freed by an API call. Change-Id: Ib57c3e98cb23e798d4439e9da7ebd73826e733a4
Diffstat (limited to 'apps/playlist.h')
-rw-r--r--apps/playlist.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index a331838fde..6048001ff7 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -82,7 +82,9 @@ struct playlist_info
82 bool control_created; /* has control file been created? */ 82 bool control_created; /* has control file been created? */
83 int dirlen; /* Length of the path to the playlist file */ 83 int dirlen; /* Length of the path to the playlist file */
84 volatile unsigned long *indices; /* array of indices */ 84 volatile unsigned long *indices; /* array of indices */
85 volatile int *filenames; /* Array of dircache indices */ 85#ifdef HAVE_DIRCACHE
86 struct dircache_fileref *dcfrefs; /* Dircache entry shortcuts */
87#endif
86 int max_playlist_size; /* Max number of files in playlist. Mirror of 88 int max_playlist_size; /* Max number of files in playlist. Mirror of
87 global_settings.max_files_in_playlist */ 89 global_settings.max_files_in_playlist */
88 bool in_ram; /* playlist stored in ram (dirplay) */ 90 bool in_ram; /* playlist stored in ram (dirplay) */