Mercurial > hg > btrack
diff 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 |
line wrap: on
line diff
--- a/src/OnsetDetectionFunction.h Wed Jan 22 01:13:45 2014 +0000 +++ b/src/OnsetDetectionFunction.h Wed Jan 22 01:34:04 2014 +0000 @@ -38,7 +38,7 @@ void initialise(int arg_hsize,int arg_fsize,int arg_df_type,int arg_win_type); /** process input buffer and calculate detection function sample */ - double getDFsample(double inputbuffer[]); + double getDFsample(double *inputbuffer); /** set the detection function type */ void set_df_type(int arg_df_type);