Commit cf3a9ef0 authored by Max Kellermann's avatar Max Kellermann

playlist: added source comments

The playlist.c source is currently quite hard to understand. I have managed to wrap my head around it, and this patch attempts to explain it to the next guy.
parent b5abc023
...@@ -64,7 +64,10 @@ typedef struct _Playlist { ...@@ -64,7 +64,10 @@ typedef struct _Playlist {
/** /**
* The "next" song to be played, when the current one * The "next" song to be played, when the current one
* finishes. * finishes. The decoder thread may start decoding and
* buffering it, while the "current" song is still playing.
*
* This variable is only valid if #playing is true.
*/ */
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