X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/d42e98caaaf4f07c8d1252236f03eb68b8be4619..90b8faa5f622bc62130ec6ee59b5fd785dd3c4e8:/lib/queue.h diff --git a/lib/queue.h b/lib/queue.h index 1c70cfd..02937f6 100644 --- a/lib/queue.h +++ b/lib/queue.h @@ -38,9 +38,9 @@ enum playing_state { */ playing_isscratch, - /** @brief Could not find a player + /** @brief OBSOLETE * - * Obsolete - nothing sets this any more + * Formerly meant that no player could be found. Nothing sets this any more. */ playing_no_player, @@ -203,6 +203,9 @@ struct queue_entry { /** @brief Owning queue (for Disobedience only) */ struct queuelike *ql; + + /** @brief Decoder (or player) process ID */ + pid_t pid; }; void queue_insert_entry(struct queue_entry *b, struct queue_entry *n);