summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-14 21:45:43 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-14 21:45:43 +0200
commit54deede40a49d2947029608a6dd942302569ee1c (patch)
tree168e4acb36b92b044281c1c3e7cbb281ca349052 /playlist.h
parentebae6eba48b75ed9fdcbf8ed2b13dfa7e022ab93 (diff)
gapless playback WIP
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/playlist.h b/playlist.h
index 51bf7124..40fdc7db 100644
--- a/playlist.h
+++ b/playlist.h
@@ -53,8 +53,8 @@ typedef struct playItem_s {
extern playItem_t *playlist_head[PL_MAX_ITERATORS]; // head of linked list
extern playItem_t *playlist_tail[PL_MAX_ITERATORS]; // tail of linked list
-extern playItem_t *playlist_current_ptr; // pointer to a real current playlist item
-extern playItem_t playlist_current; // copy of playlist item being played (stays in memory even if removed from playlist)
+extern playItem_t *playlist_current_ptr; // pointer to a real current playlist item (or NULL)
+
extern int pl_count;
int
@@ -108,8 +108,8 @@ pl_insert_cue_from_buffer (playItem_t *after, const char *fname, const uint8_t *
playItem_t *
pl_insert_cue (playItem_t *after, const char *cuename, struct DB_decoder_s *decoder, const char *ftype, float duration);
-int
-pl_set_current (playItem_t *it);
+//int
+//pl_set_current (playItem_t *it);
// returns -1 if theres no next song, or playlist finished
// reason 0 means "song finished", 1 means "user clicked next"