comparison src/xtract_globals_private.h @ 264:ecd6f2cf1346

Initial unit testing setup with an example test
author Jamie Bullock <jamie@jamiebullock.com>
date Mon, 10 Nov 2014 20:29:19 +0000
parents 246c203cc733
children
comparison
equal deleted inserted replaced
263:5b13897691e8 264:ecd6f2cf1346
27 #define XTRACT_GLOBALS_PRIVATE_H 27 #define XTRACT_GLOBALS_PRIVATE_H
28 28
29 #include "fft.h" 29 #include "fft.h"
30 #include "dywapitchtrack/dywapitchtrack.h" 30 #include "dywapitchtrack/dywapitchtrack.h"
31 31
32 #ifdef DEFINE_GLOBALS 32 #ifdef __cplusplus
33 #define GLOBAL extern "C"
34 #else
33 #define GLOBAL 35 #define GLOBAL
34 #else
35 #define GLOBAL extern
36 #endif 36 #endif
37 37
38 #ifdef USE_OOURA 38 #ifdef USE_OOURA
39 GLOBAL struct xtract_ooura_data_ ooura_data_dct; 39 GLOBAL struct xtract_ooura_data_ ooura_data_dct;
40 GLOBAL struct xtract_ooura_data_ ooura_data_mfcc; 40 GLOBAL struct xtract_ooura_data_ ooura_data_mfcc;
47 GLOBAL xtract_vdsp_data vdsp_data_autocorrelation_fft; 47 GLOBAL xtract_vdsp_data vdsp_data_autocorrelation_fft;
48 #endif 48 #endif
49 49
50 GLOBAL dywapitchtracker wavelet_f0_state; 50 GLOBAL dywapitchtracker wavelet_f0_state;
51 51
52
52 #endif /* Header guard */ 53 #endif /* Header guard */
53 54