void *conf;
/** How much of the wng's buffer is already written. */
size_t written;
+ struct btr_node *btrn;
+ struct task task;
+ size_t min_iqs;
};
/** Describes one supported writer. */
* more than once with different values of \a options.
*/
void *(*parse_config)(const char *options);
+ void (*free_config)(void *conf);
/**
* Open one instance of this writer.
*
* on errors.
*/
int (*pre_select)(struct sched *s, struct writer_node *wn);
+ void (*pre_select_btr)(struct sched *s, struct task *t);
/**
* Write audio data.
*
* negative on errors.
*/
int (*post_select)(struct sched *s, struct writer_node *wn);
+ void (*post_select_btr)(struct sched *s, struct task *t);
/**
* Close one instance of the writer.
*
*/
void (*shutdown)(struct writer_node *);
struct ggo_help help;
+ btr_command_handler execute;
};
/**