From 75a60fbf69fb7d7be5839b35efc8253d682a1c7d Mon Sep 17 00:00:00 2001 From: Hardeep Sidhu Date: Sun, 5 Feb 2006 18:17:41 +0000 Subject: Added a cache for playlist control commands. On non-dircache systems, behaviour should be the same as before (all commands except shuffle flushed immediately). On dircache systems, commands are only flushed when disk is accessed or during shutdown. This especially reduces disk accesses when playing queued files and should fix the problem with gapless playback. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8584 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index e91eb4b..d69217e 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -1325,6 +1325,7 @@ void tree_flush(void) { rundb_shutdown(); tagdb_shutdown(); + playlist_shutdown(); #ifdef HAVE_DIRCACHE if (global_settings.dircache) { -- cgit v1.1