Mercurial > hg > btrack
comparison src/OnsetDetectionFunction.h @ 53:338f5eb29e41
Small syntax change for array arguments so they are pointers rather than array[]. Just personal preference.
author | Adam Stark <adamstark@users.noreply.github.com> |
---|---|
date | Wed, 22 Jan 2014 01:34:04 +0000 |
parents | 45231107c9d6 |
children | baf35f208814 |
comparison
equal
deleted
inserted
replaced
52:45231107c9d6 | 53:338f5eb29e41 |
---|---|
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: |