X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=write_common.h;h=5f55120b25f85aca0f05b58000dc1889425193d5;hp=8d94d2a08837b5772a9a3d55f65edca1586b7df0;hb=38c80b2b03dc357fbc28f8ba04764f1e1741078a;hpb=1233e26da6b97795c9d6728faebe546da463f51e diff --git a/write_common.h b/write_common.h index 8d94d2a0..5f55120b 100644 --- a/write_common.h +++ b/write_common.h @@ -1,14 +1,17 @@ /* - * Copyright (C) 2006-2008 Andre Noll + * Copyright (C) 2006-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ -/** \file write_common.h exported symbols from write_common.c */ +/** \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); +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);