Changeset 66834b6


Ignore:
Timestamp:
Aug 21, 2005, 6:51:28 PM (16 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
162fd27
Parents:
e06e478
Message:

clarified fftw3 includes

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/aubio_priv.h

    re06e478 r66834b6  
    4545#endif
    4646
     47/* must be included before fftw3.h */
    4748#if HAVE_COMPLEX_H
    4849#include <complex.h>
    4950#endif
    50 /*
    51 #include <complex.h>
    52 #include <fftw3.h>
    53 #define FFTW_TYPE fftwf_complex
    54 */
     51
    5552#if HAVE_FFTW3_H
    5653#include <fftw3.h>
    57 //#define FFTW_TYPE fftwf_complex
    5854#endif
    5955
  • src/fft.c

    re06e478 r66834b6  
    3535#if FFTW3F_SUPPORT
    3636#define real_t smpl_t
    37 #else               
     37#else
    3838#define real_t lsmp_t
    3939#endif
  • src/fft.h

    re06e478 r66834b6  
    2424#ifndef FFT_H_
    2525#define FFT_H_
    26 /*
    27 // complex before fftw3
    28 #include <complex.h>
    29 */
     26
     27/* <complex.h> is not included here but only in aubio_priv.h, so that c++
     28 * projects can still use their own complex definition. */
    3029#include <fftw3.h>
    3130
Note: See TracChangeset for help on using the changeset viewer.