diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-20 20:16:55 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-20 20:16:55 +0100 |
commit | ca1f890764c5dbac509940530e74971e8351a02b (patch) | |
tree | 8e791a724bf15c0a5eb98b3561de739b41f7691c /deadbeef.h | |
parent | 247316a2d2625302f9d8c319d0f256f7a9ccdc87 (diff) |
WIP playqueue in gtkui
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -318,6 +318,12 @@ typedef struct { void (*pl_set_item_duration) (DB_playItem_t *it, float duration); float (*pl_get_item_duration) (DB_playItem_t *it); void (*pl_sort) (int iter, int id, const char *format, int ascending); + // playqueue support + int (*pl_playqueue_push) (DB_playItem_t *it); + void (*pl_playqueue_clear) (void); + void (*pl_playqueue_pop) (void); + void (*pl_playqueue_remove) (DB_playItem_t *it); + int (*pl_playqueue_test) (DB_playItem_t *it); // cuesheet support DB_playItem_t *(*pl_insert_cue_from_buffer) (DB_playItem_t *after, const char *fname, const uint8_t *buffer, int buffersize, struct DB_decoder_s *decoder, const char *ftype, int numsamples, int samplerate); DB_playItem_t * (*pl_insert_cue) (DB_playItem_t *after, const char *filename, struct DB_decoder_s *decoder, const char *ftype, int numsamples, int samplerate); |