SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
fftengine.cpp
Go to the documentation of this file.
1 #include "dsp/fftengine.h"
2 #ifdef USE_KISSFFT
3 #include "dsp/kissengine.h"
4 #endif
5 #ifdef USE_FFTW
6 #include "dsp/fftwengine.h"
7 #endif // USE_FFTW
8 
10 {
11 }
12 
14 {
15 #ifdef USE_FFTW
16  qDebug("FFTEngine::create: using FFTW engine");
17  return new FFTWEngine;
18 #elif USE_KISSFFT
19  qDebug("FFTEngine::create: using KissFFT engine");
20  return new KissEngine;
21 #else // USE_KISSFFT
22  qCritical("FFTEngine::create: no engine built");
23  return 0;
24 #endif
25 }
virtual ~FFTEngine()
Definition: fftengine.cpp:9
static FFTEngine * create()
Definition: fftengine.cpp:13