c@225: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ c@225: c@225: /* c@225: QM DSP Library c@225: c@225: Centre for Digital Music, Queen Mary, University of London. c@225: */ c@225: c@225: #ifndef FFT_H c@225: #define FFT_H c@225: c@225: class FFT c@225: { c@225: public: c@289: FFT(unsigned int nsamples); c@289: ~FFT(); c@225: c@289: void process(bool inverse, c@289: const double *realIn, const double *imagIn, c@289: double *realOut, double *imagOut); c@289: c@289: private: c@289: unsigned int m_n; c@289: void *m_private; c@225: }; c@225: c@289: class FFTReal c@289: { c@289: public: c@289: FFTReal(unsigned int nsamples); c@289: ~FFTReal(); c@289: c@289: void process(bool inverse, c@289: const double *realIn, c@289: double *realOut, double *imagOut); c@289: c@289: private: c@289: unsigned int m_n; c@289: void *m_private; c@289: }; c@289: c@225: #endif