Mercurial > hg > libxtract
comparison xtract/xtract_types.h @ 146:baaa9d8b4d10
switched from single to double precision througout. closes #9
author | Jamie Bullock <jamie@jamiebullock.com> |
---|---|
date | Wed, 09 Jan 2013 12:45:29 +0000 |
parents | e4f704649c50 |
children |
comparison
equal
deleted
inserted
replaced
145:2663eac093a5 | 146:baaa9d8b4d10 |
---|---|
31 #endif | 31 #endif |
32 | 32 |
33 /* \brief Data structure used to store amplitude data between calls to xtract_attack_time and other functions. */ | 33 /* \brief Data structure used to store amplitude data between calls to xtract_attack_time and other functions. */ |
34 typedef struct _xtract_amp_tracker { | 34 typedef struct _xtract_amp_tracker { |
35 int count; | 35 int count; |
36 float previous_amp; | 36 double previous_amp; |
37 } xtract_amp_tracker; | 37 } xtract_amp_tracker; |
38 | 38 |
39 typedef struct _xtract_frame_tracker { | 39 typedef struct _xtract_frame_tracker { |
40 int frame_count; | 40 int frame_count; |
41 float *previous_frame; | 41 double *previous_frame; |
42 } xtract_frame_tracker; | 42 } xtract_frame_tracker; |
43 | 43 |
44 #ifdef __cplusplus | 44 #ifdef __cplusplus |
45 } | 45 } |
46 #endif | 46 #endif |