156
156
axis_position = ctx->setup.axis_position;
158
158
// Computing FFT dimensions, hard to understand why the -1 is there but it works nicely
159
160
ctx->setup.dim_fft = 1<<((int)(log((2. * ctx->setup.num_bins - 1)) / log(2.0) + 0.9999));
160
161
ctx->setup.filter = malloc((2 * ctx->setup.dim_fft) * sizeof(float));
161
162
check_alloc(ctx->setup.filter, " FILTER");