[player] remove unused player_queue struct

This commit is contained in:
chme 2015-10-03 08:51:58 +02:00
parent fbce3a7d57
commit b19a7280b9
2 changed files with 0 additions and 22 deletions

View File

@ -3340,13 +3340,6 @@ playerqueue_get_byindex(struct player_command *cmd)
return 0; return 0;
} }
void
playerqueue_free(struct player_queue *queue)
{
free(queue->queue);
free(queue);
}
static int static int
playerqueue_add(struct player_command *cmd) playerqueue_add(struct player_command *cmd)
{ {

View File

@ -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); 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 struct player_history
{ {
/* Buffer index of the oldest remembered song */ /* Buffer index of the oldest remembered song */