stdin: Use buffer pools.
[paraslash.git] / write_common.h
1 /*
2  * Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
3  *
4  * Licensed under the GPL v2. For licencing details see COPYING.
5  */
6
7 /** \file write_common.h exported symbols from write_common.c */
8
9 int wng_open(struct writer_node_group *g);
10 void wng_close(struct writer_node_group *g);
11 struct writer_node_group *wng_new(unsigned num_writers);
12 void writer_init(void);
13 void *check_writer_arg(const char *wa, int *writer_num);
14 struct writer_node_group *setup_default_wng(void);
15 void print_writer_helps(int detailed);
16 void register_writer_node(struct writer_node *wn, struct btr_node *parent);
17 int setup_writer_node(const char *arg, struct btr_node *parent,
18                 struct writer_node *wn);
19 int get_btr_samplerate(struct btr_node *btrn, int32_t *result);
20 int get_btr_channels(struct btr_node *btrn, int32_t *result);