diff --git a/src/player.c b/src/player.c index 207d4f26..7daa31d5 100644 --- a/src/player.c +++ b/src/player.c @@ -3340,13 +3340,6 @@ playerqueue_get_byindex(struct player_command *cmd) return 0; } -void -playerqueue_free(struct player_queue *queue) -{ - free(queue->queue); - free(queue); -} - static int playerqueue_add(struct player_command *cmd) { diff --git a/src/player.h b/src/player.h index 7147f2e3..cb1e7f07 100644 --- a/src/player.h +++ b/src/player.h @@ -71,21 +71,6 @@ struct player_status { typedef void (*spk_enum_cb)(uint64_t id, const char *name, int relvol, struct spk_flags flags, void *arg); -struct player_queue -{ - // The item id of the current playing item - uint32_t playingid; - // The number of items in the queue - unsigned int length; - - // The position in the queue for the first item in the queue array - unsigned int start_pos; - // The number of items in the queue array - unsigned int count; - // The queue array (array of item ids) - uint32_t *queue; -}; - struct player_history { /* Buffer index of the oldest remembered song */