X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=wmadec_filter.c;h=562bc2513c94c445805d0639d647e73a39b05506;hb=879e52d49df6d00aa9eafe5cccb48bbd24ed4c81;hp=8b751f04592eff0f7d6b3e5fe73ade1938c17382;hpb=d46a0767b58654f15f16406cf99296287bd0d534;p=paraslash.git diff --git a/wmadec_filter.c b/wmadec_filter.c index 8b751f04..562bc251 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -149,6 +149,8 @@ struct private_wmadec_data { #define VLCBITS 9 #define VLCMAX DIV_ROUND_UP(22, VLCBITS) +/** \cond sine_winows */ + #define SINE_WINDOW(x) static float sine_ ## x[x] __a_aligned(16) SINE_WINDOW(128); @@ -161,6 +163,7 @@ SINE_WINDOW(4096); static float *sine_windows[6] = { sine_128, sine_256, sine_512, sine_1024, sine_2048, sine_4096 }; +/** \endcond sine_windows */ /* Generate a sine window. */ static void sine_window_init(float *window, int n) @@ -1210,9 +1213,9 @@ static int wmadec_execute(struct btr_node *btrn, const char *cmd, char **result) #define WMA_OUTPUT_BUFFER_SIZE (128 * 1024) -static int wmadec_post_select(__a_unused struct sched *s, struct task *t) +static int wmadec_post_select(__a_unused struct sched *s, void *context) { - struct filter_node *fn = container_of(t, struct filter_node, task); + struct filter_node *fn = context; int ret, converted, out_size; struct private_wmadec_data *pwd = fn->private_data; struct btr_node *btrn = fn->btrn;