chiark / gitweb /
SIGTERM and wait for subprocesses on server shutdown.
[disorder] / lib / queue.h
index 02937f6b1d0769dad87a3e0b7580b05dc5d154bd..72e38769726442557231928b0d28a2743ebdabf2 100644 (file)
@@ -188,7 +188,14 @@ struct queue_entry {
   /** @brief How much of track has been played so far (seconds) */
   long sofar;
 
-  /** @brief True if decoder is connected to speaker */
+  /** @brief True if decoder is connected to speaker 
+   *
+   * This is not a @ref playing_state for a couple of reasons
+   * - it is orthogonal to @ref playing_started and @ref playing_unplayed
+   * - it would have to be hidden to other users of @c queue_entry
+   *
+   * For non-raw tracks this should always be zero.
+   */
   int prepared;
   /* For DISORDER_PLAYER_PAUSES only: */