fixed fractional_decimator_ff
This commit is contained in:
parent
139d3d731b
commit
5f8f8695d3
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ void fractional_decimator_ff(float* input, float* output, int input_size, fracti
|
|||
int index_high;
|
||||
#define FD_INDEX_LOW (index_high-1)
|
||||
//we optimize to calculate ceilf(where) only once every iteration, so we do it here:
|
||||
for(;(index_high=ceilf(d->where))+d->taps_length<input_size;d->where+=d->rate) //@fractional_decimator_ff
|
||||
for(;(index_high=ceilf(d->where))+d->xilast+d->taps_length<input_size;d->where+=d->rate) //@fractional_decimator_ff
|
||||
{
|
||||
int sxifirst = FD_INDEX_LOW + d->xifirst;
|
||||
int sxilast = FD_INDEX_LOW + d->xilast;
|
||||
|
|
Loading…
Reference in a new issue