Mercurial > hg > qm-dsp
diff dsp/segmentation/Segmenter.h @ 24:2b74bd60c61f
* Various fixes to segmentation code
author | cannam |
---|---|
date | Thu, 10 Jan 2008 15:14:53 +0000 |
parents | 8e90a56b4b5f |
children | e5907ae6de17 |
line wrap: on
line diff
--- a/dsp/segmentation/Segmenter.h Thu Jan 10 15:14:30 2008 +0000 +++ b/dsp/segmentation/Segmenter.h Thu Jan 10 15:14:53 2008 +0000 @@ -42,7 +42,7 @@ virtual void initialise(int samplerate) = 0; // must be called before any other methods virtual int getWindowsize() = 0; // required window size for calls to extractFeatures() virtual int getHopsize() = 0; // required hop size for calls to extractFeatures() - virtual void extractFeatures(double* samples, int nsamples) = 0; + virtual void extractFeatures(const double* samples, int nsamples) = 0; virtual void segment() = 0; // call once all the features have been extracted virtual void segment(int m) = 0; // specify desired number of segment-types virtual void clear() { features.clear(); }