X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/97b2a06f6d679903c21759b1ff4fd52455d7d6b3..2a1c84fb58e4caaa7a91991846b36ef2cfa8dd9f:/lib/queue.h diff --git a/lib/queue.h b/lib/queue.h index 72e3876..c287ebe 100644 --- a/lib/queue.h +++ b/lib/queue.h @@ -188,6 +188,13 @@ struct queue_entry { /** @brief How much of track has been played so far (seconds) */ long sofar; + /** @brief True if track preparation is underway + * + * This is set when a decoder has been started and is expected to connect to + * the speaker, but the speaker has not sent as @ref SM_ARRIVED message back + * yet. */ + int preparing; + /** @brief True if decoder is connected to speaker * * This is not a @ref playing_state for a couple of reasons