X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=mp3dec_filter.c;h=6a196f3a06c06a42ecca40fde56de3f0d3cf4926;hb=cdbc8067a2e27ee7f9e0d8ff11cf415603fc0558;hp=b053aaa8f3fd33171aca682fe53dd85906bcca11;hpb=8eb77a20423c3dcc44c4584a082e981391272cb2;p=paraslash.git diff --git a/mp3dec_filter.c b/mp3dec_filter.c index b053aaa8..6a196f3a 100644 --- a/mp3dec_filter.c +++ b/mp3dec_filter.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2005 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2005 Andre Noll , see file COPYING. */ /** \file mp3dec_filter.c Paraslash's mp3 decoder. */ @@ -77,7 +73,7 @@ static void mp3dec_close(struct filter_node *fn) #define MP3DEC_MAX_FRAME 8192 -static int mp3dec_post_select(__a_unused struct sched *s, void *context) +static int mp3dec_post_monitor(__a_unused struct sched *s, void *context) { struct filter_node *fn = context; int i, ret; @@ -97,7 +93,7 @@ next_buffer: btr_merge(btrn, fn->min_iqs); len = btr_next_buffer(btrn, &inbuffer); /* - * Decode at most 8K in one go to give the post_select() functions of + * Decode at most 8K in one go to give the post_monitor() functions of * other buffer tree nodes a chance to run. This is necessary to avoid * buffer underruns on slow machines. */ @@ -191,7 +187,7 @@ static int mp3dec_execute(struct btr_node *btrn, const char *cmd, char **result) const struct filter lsg_filter_cmd_com_mp3dec_user_data = { .open = mp3dec_open, .close = mp3dec_close, - .pre_select = generic_filter_pre_select, - .post_select = mp3dec_post_select, + .pre_monitor = generic_filter_pre_monitor, + .post_monitor = mp3dec_post_monitor, .execute = mp3dec_execute, };