gui: Combine open_stat_pipe() and para_open_stat_pipe().
[paraslash.git] / write_common.h
index 18e5e838fee3843852d424e60af62f1205f960e4..b6f66fa6c27182f99d510c57363b05724ad168fb 100644 (file)
@@ -1,15 +1,16 @@
 /*
- * Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2010 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
 
 /** \file write_common.h exported symbols from write_common.c */
 
-int wng_open(struct writer_node_group *g);
-void wng_close(struct writer_node_group *g);
-struct writer_node_group *wng_new(unsigned num_writers);
-void init_supported_writers(void);
+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);
+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);