* Detection function fix (was losing crispness in transients)
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef USE_KISSFFT
|
||||
#include "kissfft/kiss_fftr.h"
|
||||
#endif
|
||||
@@ -80,6 +82,8 @@ namespace FFTs {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef HAVE_FFTW3
|
||||
|
||||
// Define FFTW_DOUBLE_ONLY to make all uses of FFTW functions be
|
||||
@@ -1280,6 +1284,26 @@ FFT::FFT(int size, int debugLevel)
|
||||
#endif
|
||||
break;
|
||||
|
||||
case 5:
|
||||
std::cerr << "FFT::FFT(" << size << "): WARNING: Selected implemention not available" << std::endl;
|
||||
#ifdef USE_BUILTIN_FFT
|
||||
d = new FFTs::D_Cross(size);
|
||||
#else
|
||||
std::cerr << "FFT::FFT(" << size << "): ERROR: Fallback implementation not available!" << std::endl;
|
||||
abort();
|
||||
#endif
|
||||
break;
|
||||
|
||||
case 6:
|
||||
std::cerr << "FFT::FFT(" << size << "): WARNING: Selected implemention not available" << std::endl;
|
||||
#ifdef USE_BUILTIN_FFT
|
||||
d = new FFTs::D_Cross(size);
|
||||
#else
|
||||
std::cerr << "FFT::FFT(" << size << "): ERROR: Fallback implementation not available!" << std::endl;
|
||||
abort();
|
||||
#endif
|
||||
break;
|
||||
|
||||
default:
|
||||
#ifdef USE_BUILTIN_FFT
|
||||
std::cerr << "FFT::FFT(" << size << "): WARNING: using slow built-in implementation" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user