aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-23 07:33:15 +0100
committerMax Kellermann <max@duempel.org>2009-01-23 11:33:24 +0100
commitcf3a9ef065f9ce858a0ead39ed00085b4d1c863f (patch)
treeae9e467145b46042ad83862891ffa6ddbe00f6d0 /src/playlist.h
parentb5abc023797da97fbd8c2af737f38d0c2fd07edc (diff)
downloadmpd-cf3a9ef065f9ce858a0ead39ed00085b4d1c863f.tar.gz
mpd-cf3a9ef065f9ce858a0ead39ed00085b4d1c863f.tar.xz
mpd-cf3a9ef065f9ce858a0ead39ed00085b4d1c863f.zip
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.
Diffstat (limited to '')
-rw-r--r--src/playlist.h5
1 files changed, 4 insertions, 1 deletions
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;