From a0675469cc2092cf39b39ea816e37cfc08a0bddf Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Tue, 18 Jun 2013 08:16:45 -0700 Subject: Update function prototype to use const for passed in sample buffer --- src/dywapitchtrack/dywapitchtrack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/dywapitchtrack/dywapitchtrack.h b/src/dywapitchtrack/dywapitchtrack.h index 0c12f80..62d0252 100755 --- a/src/dywapitchtrack/dywapitchtrack.h +++ b/src/dywapitchtrack/dywapitchtrack.h @@ -100,7 +100,7 @@ void dywapitch_inittracking(dywapitchtracker *pitchtracker); // startsample : the index of teh first sample to use in teh sample buffer // samplecount : the number of samples to use to compte the pitch // return 0.0 if no pitch was found (sound too low, noise, etc..) -double dywapitch_computepitch(dywapitchtracker *pitchtracker, double * samples, int startsample, int samplecount); +double dywapitch_computepitch(dywapitchtracker *pitchtracker, const double * samples, int startsample, int samplecount); #ifdef __cplusplus } // extern "C" -- cgit v1.2.3