X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=write_common.h;h=b6f66fa6c27182f99d510c57363b05724ad168fb;hp=f34ad3fe7f9da8834e99645b9f15d35b21a00f21;hb=2b46607651851bdf22fe989796fda95cf7b11d1a;hpb=885700289d2c7ab64c3bc5a5ab8f6aba14e27632 diff --git a/write_common.h b/write_common.h index f34ad3fe..b6f66fa6 100644 --- a/write_common.h +++ b/write_common.h @@ -1,16 +1,16 @@ /* - * Copyright (C) 2006-2009 Andre Noll + * Copyright (C) 2006-2010 Andre Noll * * 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 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); +int get_btr_samplerate(struct btr_node *btrn, int32_t *result); +int get_btr_channels(struct btr_node *btrn, int32_t *result);