summaryrefslogtreecommitdiff
path: root/apps/playlist.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-01-19 20:35:06 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-01-19 20:35:06 +0000
commit178a85f31cded478412d1365cd3d0537bc6e4ecc (patch)
treeae9b5a9bb24bb13aa5e4fd79a1e9e7b7d25907a0 /apps/playlist.c
parentb016185c996da110de9bdd5a709a24764b05a11b (diff)
downloadrockbox-178a85f31cded478412d1365cd3d0537bc6e4ecc.zip
rockbox-178a85f31cded478412d1365cd3d0537bc6e4ecc.tar.gz
rockbox-178a85f31cded478412d1365cd3d0537bc6e4ecc.tar.bz2
rockbox-178a85f31cded478412d1365cd3d0537bc6e4ecc.tar.xz
iriver: Better fix for the previous problem, stop playback if next
song is not immediately available, don't flush buffer when changing to next directory, git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8393 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.c')
-rw-r--r--apps/playlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 46556bf..e8239b2 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -2256,7 +2256,10 @@ int playlist_next(int steps)
ft_build_playlist(tree_get_context(), 0);
if (global_settings.playlist_shuffle)
playlist_shuffle(current_tick, -1);
+#if CONFIG_CODEC != SWCODEC
playlist_start(0, 0);
+#endif
+ playlist->index = 0;
index = 0;
}
}