diff options
Diffstat (limited to 'src/Resampler.cpp')
-rw-r--r-- | src/Resampler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Resampler.cpp b/src/Resampler.cpp index 142a4bb..f2e0eb6 100644 --- a/src/Resampler.cpp +++ b/src/Resampler.cpp @@ -93,6 +93,7 @@ Resampler::Resampler(size_t inputRate, size_t outputRate, size_t resolution) : myFftIn = (FFT_TYPE*)fftwf_malloc(sizeof(FFT_TYPE) * myFftSizeIn); myFront = (FFT_TYPE*)fftwf_malloc(sizeof(FFT_TYPE) * myFftSizeIn); + fftwf_set_timelimit(2); myFftPlan1 = fftwf_plan_dft_1d(myFftSizeIn, myFftIn, myFront, FFTW_FORWARD, FFTW_MEASURE); |