Changeset f3bee79 for src/spectral/fft.c
- Timestamp:
- Oct 1, 2009, 5:41:07 PM (15 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/fft.c
re6c11e3 rf3bee79 23 23 #include "mathutils.h" 24 24 #include "spectral/fft.h" 25 26 /* note that <complex.h> is not included here but only in aubio_priv.h, so that 27 * c++ projects can still use their own complex definition. */ 28 #include <fftw3.h> 29 30 #ifdef HAVE_COMPLEX_H 31 #if HAVE_FFTW3F 32 /** fft data type with complex.h and fftw3f */ 33 #define FFTW_TYPE fftwf_complex 34 #else 35 /** fft data type with complex.h and fftw3 */ 36 #define FFTW_TYPE fftw_complex 37 #endif 38 #else 39 #if HAVE_FFTW3F 40 /** fft data type without complex.h and with fftw3f */ 41 #define FFTW_TYPE float 42 #else 43 /** fft data type without complex.h and with fftw */ 44 #define FFTW_TYPE double 45 #endif 46 #endif 47 48 /** fft data type */ 49 typedef FFTW_TYPE fft_data_t; 25 50 26 51 #if HAVE_FFTW3F
Note: See TracChangeset
for help on using the changeset viewer.