diff options
author | Jamie Bullock <jamie@postlude.co.uk> | 2007-10-06 16:36:00 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@postlude.co.uk> | 2007-10-06 16:36:00 +0000 |
commit | 7044486fdcc4d806f46c35ec4787ae48fa26c369 (patch) | |
tree | 06134837cf5be10309e18065700ae95592a6851f /src/xtract_macros_private.h | |
parent | 944e692ddd2862827821ef498dc6e5a570c26752 (diff) | |
download | LibXtract-7044486fdcc4d806f46c35ec4787ae48fa26c369.tar.gz LibXtract-7044486fdcc4d806f46c35ec4787ae48fa26c369.tar.bz2 LibXtract-7044486fdcc4d806f46c35ec4787ae48fa26c369.zip |
Removed fftw_plan from xtraction functions. Created new init function xtract_init_fft() for creating plans, which have global scope. Updated examples to reflect the change. New configure option: --with-fft_optimisation (0 = FFTW_ESTIMATE, 1 = FFTW_MEASURE, 2 = FFTW_PATIENT).
Diffstat (limited to 'src/xtract_macros_private.h')
-rw-r--r-- | src/xtract_macros_private.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xtract_macros_private.h b/src/xtract_macros_private.h index 7f06960..bfe0b63 100644 --- a/src/xtract_macros_private.h +++ b/src/xtract_macros_private.h @@ -49,9 +49,6 @@ (= SR_LOWER_LIMIT / FFT_BANDS_MAX*/ #define XTRACT_SPEC_BW_MAX 12000.0 /* SR_UPPER_LIMIT / FFT_BANDS_MIN */ #define XTRACT_SPEC_BW_DEF 43.066 /* SR_DEFAULT / FFT_BANDS_DEF */ - -#ifdef __cplusplus -} -#endif +#define XTRACT_ARRAY_ELEMENTS(_array) (sizeof(_array)/sizeof(_array[0])) #endif |