diff data/model/FFTModel.cpp @ 1191:6d09ad2ab21f spectrogram-minor-refactor

Create, but don't yet use, a renderer in the colour 3d plot layer
author Chris Cannam
date Wed, 13 Jul 2016 13:06:28 +0100
parents 12a8daa89970
children 825d0d7641ba
line wrap: on
line diff
--- a/data/model/FFTModel.cpp	Thu Jun 23 14:43:00 2016 +0100
+++ b/data/model/FFTModel.cpp	Wed Jul 13 13:06:28 2016 +0100
@@ -331,7 +331,7 @@
 }
 
 FFTModel::PeakLocationSet
-FFTModel::getPeaks(PeakPickType type, int x, int ymin, int ymax)
+FFTModel::getPeaks(PeakPickType type, int x, int ymin, int ymax) const
 {
     Profiler profiler("FFTModel::getPeaks");
 
@@ -479,7 +479,7 @@
 
 FFTModel::PeakSet
 FFTModel::getPeakFrequencies(PeakPickType type, int x,
-                             int ymin, int ymax)
+                             int ymin, int ymax) const
 {
     Profiler profiler("FFTModel::getPeakFrequencies");