X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=check_wav.h;h=ba1a8eca48f2bf9407c7f3efbbdbd74e7414b2c7;hp=102e9514b960411dd667c349da2e4b0c0b30fca2;hb=081c8921f827c1ed482c45ba22bd8bb97db2838b;hpb=1af65c31171b35e5a5e931e3a4467786e932e145 diff --git a/check_wav.h b/check_wav.h index 102e9514..ba1a8eca 100644 --- a/check_wav.h +++ b/check_wav.h @@ -1,4 +1,12 @@ -struct check_wav_task; +/* + * Copyright (C) 2012-2013 Andre Noll + * + * Licensed under the GPL v2. For licencing details see COPYING. + */ + +/** \file check_wav.h Detect, process and cut a wav header. */ + +struct check_wav_context; /** * These come from the command line arguments. @@ -38,6 +46,9 @@ struct wav_params { (dst)->sample_format_arg = (src)->sample_format_arg; \ (dst)->sample_format_given = (src)->sample_format_given; -struct check_wav_task *check_wav_init(struct sched *s, struct btr_node *parent, - struct wav_params *params, struct btr_node **cwt_btrn); -void check_wav_shutdown(struct check_wav_task *cwt); +struct check_wav_context *check_wav_init(struct btr_node *parent, + struct btr_node *child, struct wav_params *params, + struct btr_node **cw_btrn); +void check_wav_pre_select(struct sched *s, struct check_wav_context *cwc); +int check_wav_post_select(struct check_wav_context *cwc); +void check_wav_shutdown(struct check_wav_context *cwc);