diff options
| author | Hardeep Sidhu <dyp@pobox.com> | 2006-02-05 18:17:41 +0000 |
|---|---|---|
| committer | Hardeep Sidhu <dyp@pobox.com> | 2006-02-05 18:17:41 +0000 |
| commit | 75a60fbf69fb7d7be5839b35efc8253d682a1c7d (patch) | |
| tree | 219ce4485e7128232090e3cbcdd357addbf09481 /apps/tree.c | |
| parent | 987879b958f87a9af7ef9edcf6ae417fe56db788 (diff) | |
| download | rockbox-75a60fbf69fb7d7be5839b35efc8253d682a1c7d.zip rockbox-75a60fbf69fb7d7be5839b35efc8253d682a1c7d.tar.gz rockbox-75a60fbf69fb7d7be5839b35efc8253d682a1c7d.tar.bz2 rockbox-75a60fbf69fb7d7be5839b35efc8253d682a1c7d.tar.xz | |
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
Diffstat (limited to 'apps/tree.c')
| -rw-r--r-- | apps/tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |