From 875434bf96428894c9bb06f5918e34fd728e7c68 Mon Sep 17 00:00:00 2001 From: ha7ilm Date: Sat, 18 Feb 2017 16:37:49 +0100 Subject: [PATCH] added comment --- libcsdr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libcsdr.c b/libcsdr.c index 3ee3039..14a1eaf 100644 --- a/libcsdr.c +++ b/libcsdr.c @@ -736,6 +736,7 @@ void fractional_decimator_ff(float* input, float* output, int input_size, fracti //we optimize to calculate ceilf(where) only once every iteration, so we do it here: for(;(index_high=ceilf(d->where))+d->num_poly_points+d->taps_lengthwhere+=d->rate) //@fractional_decimator_ff { + //d->num_poly_points above is theoretically more than we could have here, but this makes the spectrum look good int sxifirst = FD_INDEX_LOW + d->xifirst; int sxilast = FD_INDEX_LOW + d->xilast; if(d->taps) for(int wi=0;winum_poly_points;wi++) d->filtered_buf[wi] = fir_one_pass_ff(input+FD_INDEX_LOW+wi, d->taps, d->taps_length);