chiark / gitweb /
record whether tracks are connected to speaker in a sane and working way
[disorder] / lib / queue.h
index 3ae4c2650962533d94821e3de8edaa180e82ceaa..ce43fc583d1351fe57694cdc52b9934acc1366c5 100644 (file)
@@ -54,6 +54,7 @@ struct queue_entry {
   const struct plugin *pl;             /* plugin that's playing this track */
   void *data;                          /* player data */
   long sofar;                          /* how much played so far */
+  int prepared;                                /* true when connected to speaker */
   /* For DISORDER_PLAYER_PAUSES only: */
   time_t lastpaused, lastresumed;      /* when last paused/resumed, or 0 */
   long uptopause;                      /* how much played up to last pause */