diff layer/SpectrogramLayer.h @ 1087:6d990a24ac1b spectrogram-minor-refactor

One FFT size method, no member for it
author Chris Cannam
date Sat, 02 Jul 2016 12:56:07 +0100
parents 163cb9b98104
children c520f90bbf2e
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Fri Jul 01 18:30:42 2016 +0100
+++ b/layer/SpectrogramLayer.h	Sat Jul 02 12:56:07 2016 +0100
@@ -252,7 +252,6 @@
     int                 m_windowSize;
     WindowType          m_windowType;
     int                 m_windowHopLevel;
-    int                 m_fftSize; // m_windowSize * oversampling level
     float               m_gain;
     float               m_initialGain;
     float               m_threshold;
@@ -339,7 +338,8 @@
     }
 
     int getFFTOversampling() const;
-    int getFFTSize(const LayerGeometryProvider *v) const;
+    int getFFTSize() const; // m_windowSize * getFFTOversampling()
+    
     FFTModel *getFFTModel(const LayerGeometryProvider *v) const;
     Dense3DModelPeakCache *getPeakCache(const LayerGeometryProvider *v) const;
     void invalidateFFTModels();