-/**
- * 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;
- /** 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;
- /** Whether the group is open, i.e. wng_open() was called. */
- int open;
-};
-
-/** loop over each writer node in a writer group */
-#define FOR_EACH_WRITER_NODE(i, wng) for (i = 0; i < (wng)->num_writers; i++)
-/** loop over each supported writer */