Skip to content

Commit

Permalink
FFTW_MEASURE don't work on WebAssembly
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesneimog committed Oct 3, 2024
1 parent 37c369c commit 6bca2b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/OScofo/mir.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ MIR::MIR(float Sr, float FftSize, float HopSize) {
throw std::runtime_error("OScofoMIR::OScofoMIR fftw_alloc_complex failed");
}

m_FFTPlan = fftw_plan_dft_r2c_1d(m_FftSize, m_FFTIn, m_FFTOut, FFTW_MEASURE);
m_FFTPlan = fftw_plan_dft_r2c_1d(m_FftSize, m_FFTIn, m_FFTOut, FFTW_ESTIMATE);

// blackman
m_WindowingFunc.resize(m_FftSize);
Expand Down

0 comments on commit 6bca2b1

Please sign in to comment.