mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 20:37:50 +02:00
Added FFTSize setting
This commit is contained in:
@ -97,7 +97,10 @@ void SignalPath::unbindIQStream(dsp::stream<dsp::complex_t>* stream) {
|
||||
void SignalPath::setFFTSize(int size) {
|
||||
fftSize = size;
|
||||
int skip = (sampleRate / fftRate) - fftSize;
|
||||
reshape.stop();
|
||||
reshape.setSkip(skip);
|
||||
reshape.setKeep(fftSize);
|
||||
reshape.start();
|
||||
}
|
||||
|
||||
void SignalPath::startFFT() {
|
||||
|
Reference in New Issue
Block a user