Fixed file source and cleaned up buffering code

This commit is contained in:
Ryzerth
2021-06-29 02:43:04 +02:00
parent 70cf463881
commit aaa15315ce
8 changed files with 41 additions and 23 deletions

View File

@@ -20,6 +20,7 @@ public:
void setFFTSize(int size);
void startFFT();
void stopFFT();
void setBuffering(bool enabled);
dsp::SampleFrameBuffer<dsp::complex_t> inputBuffer;
@@ -43,4 +44,5 @@ private:
double fftRate;
int fftSize;
int inputBlockSize;
bool bufferingEnabled = false;
};