summaryrefslogtreecommitdiffstats
path: root/apps/playlist.h
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2008-04-02 17:04:59 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2008-04-02 17:04:59 +0000
commit03b54c29d769705b9f2682d6942521ed36d11852 (patch)
tree11bffb177716c7d0b47d2fbf7203ba23374505bf /apps/playlist.h
parent43df8374e53b633caf02cdce8dba16b48875359d (diff)
downloadrockbox-03b54c29d769705b9f2682d6942521ed36d11852.tar.gz
rockbox-03b54c29d769705b9f2682d6942521ed36d11852.tar.bz2
rockbox-03b54c29d769705b9f2682d6942521ed36d11852.zip
Fix for FS#8601 by pondlife: the disk no longer spins up on a track change when dircache is disabled. This issue was introduced by me in r16019 by adding a call to playlist_peek() in audio_check_new_track(). This fix adds a new playlist API call to work around the problem until we find a better solution. There are also a few simplifications and comment corrections.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16930 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.h')
-rw-r--r--apps/playlist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index af9a09523f..a3ea225a5d 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -119,6 +119,7 @@ int playlist_resume(void);
int playlist_add(const char *filename);
int playlist_shuffle(int random_seed, int start_index);
int playlist_start(int start_index, int offset);
+bool playlist_checkend(int steps);
bool playlist_check(int steps);
char *playlist_peek(int steps);
int playlist_next(int steps);