X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=write_common.h;h=5f55120b25f85aca0f05b58000dc1889425193d5;hp=f34ad3fe7f9da8834e99645b9f15d35b21a00f21;hb=e3272a316d113dd9c0c6f01f3087ab14f945e76b;hpb=885700289d2c7ab64c3bc5a5ab8f6aba14e27632 diff --git a/write_common.h b/write_common.h index f34ad3fe..5f55120b 100644 --- a/write_common.h +++ b/write_common.h @@ -1,16 +1,17 @@ /* - * Copyright (C) 2006-2009 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 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); +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);