Mercurial > hg > btrack
comparison src/OnsetDetectionFunction.h @ 16:73c64ca0ed23 develop
Small syntax change for array arguments so they are pointers rather than array[]. Just personal preference.
author | Adam <adamstark.uk@gmail.com> |
---|---|
date | Wed, 22 Jan 2014 01:34:04 +0000 |
parents | 2b94d3d2fb9d |
children | baf35f208814 |
comparison
equal
deleted
inserted
replaced
15:2b94d3d2fb9d | 16:73c64ca0ed23 |
---|---|
36 | 36 |
37 /** Initialisation Function */ | 37 /** Initialisation Function */ |
38 void initialise(int arg_hsize,int arg_fsize,int arg_df_type,int arg_win_type); | 38 void initialise(int arg_hsize,int arg_fsize,int arg_df_type,int arg_win_type); |
39 | 39 |
40 /** process input buffer and calculate detection function sample */ | 40 /** process input buffer and calculate detection function sample */ |
41 double getDFsample(double inputbuffer[]); | 41 double getDFsample(double *inputbuffer); |
42 | 42 |
43 /** set the detection function type */ | 43 /** set the detection function type */ |
44 void set_df_type(int arg_df_type); | 44 void set_df_type(int arg_df_type); |
45 | 45 |
46 private: | 46 private: |