aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Bullock <jamie@jamiebullock.com>2013-06-18 08:16:45 -0700
committerJamie Bullock <jamie@jamiebullock.com>2013-06-18 08:16:45 -0700
commita0675469cc2092cf39b39ea816e37cfc08a0bddf (patch)
tree3caee424ca9ad1622682c1ad51633d20401321c5
parent206a5e8595d42913121b404324acacb05f30ee49 (diff)
downloadLibXtract-a0675469cc2092cf39b39ea816e37cfc08a0bddf.tar.gz
LibXtract-a0675469cc2092cf39b39ea816e37cfc08a0bddf.tar.bz2
LibXtract-a0675469cc2092cf39b39ea816e37cfc08a0bddf.zip
Update function prototype to use const for passed in sample buffer
-rwxr-xr-xsrc/dywapitchtrack/dywapitchtrack.h2
1 files changed, 1 insertions, 1 deletions
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"