X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=write.h;h=c7c227eefb146db15160b70d8cb25618adb1f0b3;hp=32c437f8d175826951f2861f82277cf68ca52461;hb=7c007561e7031f5e33b91a8baf51bb952693a2d0;hpb=c5056b00502d27e602cfcd716f92e5f85f97b470 diff --git a/write.h b/write.h index 32c437f8..c7c227ee 100644 --- a/write.h +++ b/write.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2014 Andre Noll + * Copyright (C) 2006 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -48,7 +48,7 @@ struct writer { */ void *(*parse_config_or_die)(int argc, char **argv); /** - * Dellocate all configuration resources. + * Deallocate all configuration resources. * * This should free whatever was allocated by \ref parse_config_or_die(). */ @@ -59,13 +59,13 @@ struct writer { * This is called from scheduler. It may use the sched pointer to add * any file descriptors or to decrease the select timeout. */ - void (*pre_select)(struct sched *s, struct task *t); + void (*pre_select)(struct sched *s, void *context); /** * Write audio data. * * Called from the post_select function of the writer node's task. */ - int (*post_select)(struct sched *s, struct task *t); + int (*post_select)(struct sched *s, void *context); /** * Close one instance of the writer. *