From 54deede40a49d2947029608a6dd942302569ee1c Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Mon, 14 Sep 2009 21:45:43 +0200 Subject: gapless playback WIP --- playlist.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'playlist.h') 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" -- cgit v1.2.3