playlist: documented struct members
Added several comments.
This commit is contained in:
parent
aa9ffcd04d
commit
9d3c14830b
@ -44,9 +44,22 @@ enum playlist_result {
|
||||
};
|
||||
|
||||
typedef struct _Playlist {
|
||||
/**
|
||||
* The song queue - it contains the "real" playlist.
|
||||
*/
|
||||
struct queue queue;
|
||||
|
||||
/**
|
||||
* The "current song pointer". This is the song which is
|
||||
* played when we get the "play" command. It is also the song
|
||||
* which is currently being played.
|
||||
*/
|
||||
int current;
|
||||
|
||||
/**
|
||||
* The "next" song to be played, when the current one
|
||||
* finishes.
|
||||
*/
|
||||
int queued;
|
||||
} Playlist;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user