summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-20 20:16:55 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-20 20:16:55 +0100
commitca1f890764c5dbac509940530e74971e8351a02b (patch)
tree8e791a724bf15c0a5eb98b3561de739b41f7691c /deadbeef.h
parent247316a2d2625302f9d8c319d0f256f7a9ccdc87 (diff)
WIP playqueue in gtkui
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 90fcd1f8..488c357c 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -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);