mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
Undo
This commit is contained in:
parent
2178b6eb63
commit
86b296ea82
1 changed files with 0 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue