- void (*shutdown)(struct writer_node *);
-};
-
-/**
- * describes a set of writer nodes that all write the same stream.
- */
-struct writer_node_group {
- /** number of nodes belonging to this group */
- unsigned num_writers;
- /** array of pointers to the corresponding writer nodes */
- struct writer_node *writer_nodes;
- /** the maximum of the chunk_bytes values of the writer nodes in this group */
- size_t max_chunk_bytes;
- /** Non-zero if an error or end of file was encountered by the feeding task. */
- int *input_error;
- /** Non-zero if an error occurred or end of file was encountered. */
- int error;
- /** current output buffer */
- char *buf;
- /** number of bytes loaded in the output buffer */
- size_t *loaded;
- /** number of audio channels of the current stream */
- unsigned int *channels;
- /** sample rate of the current stream */
- unsigned int *samplerate;
- /** the task associated to this group */
- struct task task;