This commit is contained in:
Aang23 2022-04-28 19:34:49 +02:00
parent 2178b6eb63
commit 86b296ea82

View file

@ -48,9 +48,6 @@ namespace dsp
delete[] fft_output_buffer;
}
int decimation = 10;
int ii = 0;
void FFTBlock::work()
{
int nsamples = input_stream->read();
@ -73,9 +70,6 @@ namespace dsp
int position_ptr = 0;
while (in_main_buffer - position_ptr > fft_size)
{
if (ii++ % decimation != 0)
continue;
complex_t *buffer_ptr = &fft_main_buffer[position_ptr];
volk_32fc_32f_multiply_32fc((lv_32fc_t *)fftw_in, (lv_32fc_t *)buffer_ptr, fft_taps, fft_size);