Commit 9d3c1483 authored by Max Kellermann's avatar Max Kellermann

playlist: documented struct members

Added several comments.
parent aa9ffcd0
...@@ -44,9 +44,22 @@ enum playlist_result { ...@@ -44,9 +44,22 @@ enum playlist_result {
}; };
typedef struct _Playlist { typedef struct _Playlist {
/**
* The song queue - it contains the "real" playlist.
*/
struct queue queue; 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; int current;
/**
* The "next" song to be played, when the current one
* finishes.
*/
int queued; int queued;
} Playlist; } Playlist;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment