diff dsp/segmentation/ClusterMeltSegmenter.cpp @ 495:1bea13b8f951

Style fixes in constant-Q: avoid unsigned, reuse our Window class, fix comments
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 31 May 2019 18:25:31 +0100
parents bb78ca3fe7de
children
line wrap: on
line diff
--- a/dsp/segmentation/ClusterMeltSegmenter.cpp	Fri May 31 18:15:59 2019 +0100
+++ b/dsp/segmentation/ClusterMeltSegmenter.cpp	Fri May 31 18:25:31 2019 +0100
@@ -82,7 +82,7 @@
         
         ncoeff = constq->getK();
 
-        fft = new FFTReal(constq->getfftlength());
+        fft = new FFTReal(constq->getFFTLength());
         
     } else if (featureType == FEATURE_TYPE_MFCC) {
 
@@ -156,7 +156,7 @@
         return;
     }
 
-    int fftsize = constq->getfftlength();
+    int fftsize = constq->getFFTLength();
 
     if (!window || window->getSize() != fftsize) {
         delete window;