Changeset f3bee79 for src/spectral/fft.h
- 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.h
re6c11e3 rf3bee79 27 27 #define FFT_H_ 28 28 29 /* note that <complex.h> is not included here but only in aubio_priv.h, so that30 * c++ projects can still use their own complex definition. */31 #include <fftw3.h>32 33 #ifdef HAVE_COMPLEX_H34 #if HAVE_FFTW3F35 /** fft data type with complex.h and fftw3f */36 #define FFTW_TYPE fftwf_complex37 #else38 /** fft data type with complex.h and fftw3 */39 #define FFTW_TYPE fftw_complex40 #endif41 #else42 #if HAVE_FFTW3F43 /** fft data type without complex.h and with fftw3f */44 #define FFTW_TYPE float45 #else46 /** fft data type without complex.h and with fftw */47 #define FFTW_TYPE double48 #endif49 #endif50 51 29 #ifdef __cplusplus 52 30 extern "C" { 53 31 #endif 54 55 /** fft data type */56 typedef FFTW_TYPE fft_data_t;57 32 58 33 /** FFT object
Note: See TracChangeset
for help on using the changeset viewer.