Switch audiod over to the buffer tree API.
[paraslash.git] / write_common.h
index ef5a7c03603a537034f5d19d62df91498e493505..8c33a5184c57d890ef088e0291f790ff180cd779 100644 (file)
@@ -13,6 +13,8 @@ void writer_init(void);
 void *check_writer_arg(const char *wa, int *writer_num);
 struct writer_node_group *setup_default_wng(void);
 void print_writer_helps(int detailed);
-struct writer_node *setup_writer_node(const char *arg, struct btr_node *parent);
+void register_writer_node(struct writer_node *wn, struct btr_node *parent);
+int setup_writer_node(const char *arg, struct btr_node *parent,
+               struct writer_node *wn);
 int get_btr_samplerate(struct btr_node *btrn, int32_t *result);
 int get_btr_channels(struct btr_node *btrn, int32_t *result);