You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
411 B
23 lines
411 B
#ifndef INCLUDE_KISSENGINE_H |
|
#define INCLUDE_KISSENGINE_H |
|
|
|
#include "dsp/fftengine.h" |
|
#include "dsp/kissfft.h" |
|
|
|
class KissEngine : public FFTEngine { |
|
public: |
|
void configure(int n, bool inverse); |
|
void transform(); |
|
|
|
Complex* in(); |
|
Complex* out(); |
|
|
|
protected: |
|
typedef kissfft<Real, Complex> KissFFT; |
|
KissFFT m_fft; |
|
|
|
std::vector<Complex> m_in; |
|
std::vector<Complex> m_out; |
|
}; |
|
|
|
#endif // INCLUDE_KISSENGINE_H
|
|
|