From cf3a9ef065f9ce858a0ead39ed00085b4d1c863f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 23 Jan 2009 07:33:15 +0100 Subject: 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. --- src/playlist.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/playlist.h') diff --git a/src/playlist.h b/src/playlist.h index beb26a767..14813ea17 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -64,7 +64,10 @@ typedef struct _Playlist { /** * 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; } Playlist; -- cgit v1.2.3