X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=write_common.h;h=b6f66fa6c27182f99d510c57363b05724ad168fb;hp=d4e7469ea0f903d9f2968d7bdd0f8678eb43285a;hb=7cb8fa26cfdcb3d34f8be2b86c48ffc6d7b9d84a;hpb=471684761a2039bbc89aa1e3c33c62de6bef86cf diff --git a/write_common.h b/write_common.h index d4e7469e..b6f66fa6 100644 --- a/write_common.h +++ b/write_common.h @@ -1,15 +1,16 @@ /* - * Copyright (C) 2006-2007 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 wng_unregister(struct writer_node_group *g); -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); +int get_btr_samplerate(struct btr_node *btrn, int32_t *result); +int get_btr_channels(struct btr_node *btrn, int32_t *result);