Switch audiod over to the buffer tree API.
[paraslash.git] / write.h
diff --git a/write.h b/write.h
index b47784af8785f2df6481cd1d3c23f517d6697adc..8e244517c12f0203db5049ab5c09f8d8b82d84a4 100644 (file)
--- a/write.h
+++ b/write.h
@@ -24,7 +24,8 @@ struct writer_node {
        /** How much of the wng's buffer is already written. */
        size_t written;
        struct btr_node *btrn;
-       struct task task; /* move this to btr as btr nodes do not make sense w/o task */
+       struct task task;
+       size_t min_iqs;
 };
 
 /** Describes one supported writer. */
@@ -45,6 +46,7 @@ struct 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.
         *
@@ -87,6 +89,7 @@ struct writer {
         */
        void (*shutdown)(struct writer_node *);
        struct ggo_help help;
+       btr_command_handler execute;
 };
 
 /**