1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 07:24:44 -04:00

git clone git://git.osmocom.org/sdrangelove.git

This commit is contained in:
Hexameron
2014-05-18 16:52:39 +01:00
commit 7d3bfb26fc
203 changed files with 27958 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#include "dsp/fftengine.h"
#ifdef USE_KISSFFT
#include "dsp/kissengine.h"
#endif
#ifdef USE_FFTW
#include "dsp/fftwengine.h"
#endif // USE_FFTW
FFTEngine::~FFTEngine()
{
}
FFTEngine* FFTEngine::create()
{
#ifdef USE_FFTW
qDebug("FFT: using FFTW engine");
return new FFTWEngine;
#endif // USE_FFTW
#ifdef USE_KISSFFT
qDebug("FFT: using KissFFT engine");
return new KissEngine;
#endif // USE_KISSFFT
qCritical("FFT: no engine built");
return NULL;
}