client: Fix return value check for sb_received().
[paraslash.git] / write_common.h
index 74f8e1c..1828875 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2010 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006 Andre Noll <maan@tuebingen.mpg.de>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -7,10 +7,10 @@
 /** \file write_common.h Exported symbols from write_common.c. */
 
 void writer_init(void);
-void *check_writer_arg(const char *wa, int *writer_num);
-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);
+void *check_writer_arg_or_die(const char *wa, int *writer_num);
+void print_writer_helps(unsigned flags);
+void register_writer_node(struct writer_node *wn, struct btr_node *parent,
+               struct sched *s);
 void get_btr_sample_rate(struct btr_node *btrn, int32_t *result);
 void get_btr_channels(struct btr_node *btrn, int32_t *result);
+void get_btr_sample_format(struct btr_node *btrn, int32_t *result);