Changeset f3bee79 for src/spectral/fft.h


Ignore:
Timestamp:
Oct 1, 2009, 5:41:07 PM (15 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
847b374
Parents:
e6c11e3
Message:

src/spectral/fft.{c,h}: move fftw3.h include inside fft.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/fft.h

    re6c11e3 rf3bee79  
    2727#define FFT_H_
    2828
    29 /* note that <complex.h> is not included here but only in aubio_priv.h, so that
    30  * c++ projects can still use their own complex definition. */
    31 #include <fftw3.h>
    32 
    33 #ifdef HAVE_COMPLEX_H
    34 #if HAVE_FFTW3F
    35 /** fft data type with complex.h and fftw3f */
    36 #define FFTW_TYPE fftwf_complex
    37 #else
    38 /** fft data type with complex.h and fftw3 */
    39 #define FFTW_TYPE fftw_complex
    40 #endif
    41 #else
    42 #if HAVE_FFTW3F
    43 /** fft data type without complex.h and with fftw3f */
    44 #define FFTW_TYPE float
    45 #else
    46 /** fft data type without complex.h and with fftw */
    47 #define FFTW_TYPE double
    48 #endif
    49 #endif
    50 
    5129#ifdef __cplusplus
    5230extern "C" {
    5331#endif
    54 
    55 /** fft data type */
    56 typedef FFTW_TYPE fft_data_t;
    5732
    5833/** FFT object
Note: See TracChangeset for help on using the changeset viewer.