diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-09-14 21:45:43 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-09-14 21:45:43 +0200 |
commit | 54deede40a49d2947029608a6dd942302569ee1c (patch) | |
tree | 168e4acb36b92b044281c1c3e7cbb281ca349052 /playlist.h | |
parent | ebae6eba48b75ed9fdcbf8ed2b13dfa7e022ab93 (diff) |
gapless playback WIP
Diffstat (limited to 'playlist.h')
-rw-r--r-- | playlist.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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" |