summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-07-08 21:30:31 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-07-08 22:50:46 +0200
commit425f2d8d2b252e027593808a8e297193e2c9f7de (patch)
treee848ed02ac5f68839124ffb4144dbfad31bd4be6 /playlist.h
parentbb6da46236137f12be28147f93ea9654c5ccc125 (diff)
[WIP] seamless playback
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/playlist.h b/playlist.h
index a46b82f7..b77b58b2 100644
--- a/playlist.h
+++ b/playlist.h
@@ -47,4 +47,13 @@ ps_add_cue (const char *cuename);
void
ps_set_current (playItem_t *it);
+// returns -1 if theres no next song, or playlist finished
+int
+ps_nextsong (void);
+
+// starts current playlist item from position 0
+// only if the item is still in playlist
+void
+ps_start_current (void);
+
#endif // __PLAYLIST_H