comparison src/OnsetDetectionFunction.cpp @ 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
166 { 166 {
167 df_type = arg_df_type; // set detection function type 167 df_type = arg_df_type; // set detection function type
168 } 168 }
169 169
170 //======================================================================= 170 //=======================================================================
171 double OnsetDetectionFunction :: getDFsample(double inputbuffer[]) 171 double OnsetDetectionFunction :: getDFsample(double *inputbuffer)
172 { 172 {
173 double df_sample; 173 double df_sample;
174 174
175 // shift audio samples back in frame by hop size 175 // shift audio samples back in frame by hop size
176 for (int i = 0; i < (framesize-hopsize);i++) 176 for (int i = 0; i < (framesize-hopsize);i++)