Added audio fix for MacOS

This commit is contained in:
Ryzerth
2021-06-29 18:14:26 +02:00
parent 659b9b1e8c
commit 5f84ecc4de
5 changed files with 384 additions and 0 deletions

View File

@ -616,4 +616,8 @@ void MainWindow::setFFTSize(int size) {
fft_in = (fftwf_complex*)fftwf_malloc(sizeof(fftwf_complex) * fftSize);
fft_out = (fftwf_complex*)fftwf_malloc(sizeof(fftwf_complex) * fftSize);
fftwPlan = fftwf_plan_dft_1d(fftSize, fft_in, fft_out, FFTW_FORWARD, FFTW_ESTIMATE);
}
bool MainWindow::isPlaying() {
return playing;
}

View File

@ -22,6 +22,8 @@ public:
// TODO: Replace with it's own class
void setVFO(double freq);
bool isPlaying();
bool lockWaterfallControls = false;
private: