-/**
- * describes one instance of a receiver-filter-writer chain
- *
- * \sa receier_node, receiver, filter, filter_node, filter_chain, writer,
- * writer_node, writer_node_group.
- */
-struct slot_info {
- /** number of the audio format in this slot */
- int format;
- /** writer start time */
- struct timeval wstime;
- /** the receiver info associated with this slot */
- struct receiver_node *receiver_node;
- /** the active filter chain */
- struct filter_chain *fc;
- /** the active writer node group */
- struct writer_node_group *wng;
-};
-/**
- * the main task of audiod
- *
- * \sa struct task, struct sched
- */
-struct audiod_task {
- struct timeval *now;
- struct task task;
-};
-/**
- * the task for audiod's child (para_client stat)
- *
- * \sa struct task, struct sched
- */
-struct status_task {
- /** the output of the stat command is read from this fd */
- int fd;
- /** stat data is stored here */
- char buf[STRINGSIZE];
- /** number of bytes loaded in \a buf */
- unsigned loaded;
- /** the associated task structure */
- struct task task;
- /** do not restart client command until this time */
- struct timeval restart_barrier;
- int playing;
- int offset_seconds;
- int length_seconds;
- int sa_time_diff_sign;
- char *stat_item_values[NUM_STAT_ITEMS];
- struct timeval server_stream_start;
- struct timeval sa_time_diff;
-};
-extern struct status_task *stat_task;
-extern struct slot_info slot[MAX_STREAM_SLOTS];
-extern struct gengetopt_args_info conf;