MPD
|
A queue of songs. More...
#include <queue.h>
Data Fields | |
unsigned | max_length |
configured maximum length of the queue | |
unsigned | length |
number of songs in the queue | |
uint32_t | version |
the current version number | |
struct queue_item * | items |
all songs in "position" order | |
unsigned * | order |
map order numbers to positions | |
int * | id_to_position |
map song ids to positions | |
bool | repeat |
repeat playback when the end of the queue has been reached? | |
bool | single |
play only current song. | |
bool | consume |
remove each played files. | |
bool | random |
play back songs in random order? | |
GRand * | rand |
random number generator for shuffle and random mode | |
A queue of songs.
This is the backend of the playlist: it contains an ordered list of songs.
Songs can be addressed in three possible ways:
struct queue_item* queue::items |
unsigned queue::max_length |
GRand* queue::rand |
bool queue::repeat |