diff layer/ScrollableMagRangeCache.cpp @ 1136:9ff838a64461 spectrogram-minor-refactor

Re-enable (little-used) normalise-visible-range option in spectrogram layer
author Chris Cannam
date Wed, 03 Aug 2016 16:16:23 +0100
parents 745a868f0abf
children c53ed1a6fcbd
line wrap: on
line diff
--- a/layer/ScrollableMagRangeCache.cpp	Wed Aug 03 14:20:27 2016 +0100
+++ b/layer/ScrollableMagRangeCache.cpp	Wed Aug 03 16:16:23 2016 +0100
@@ -76,11 +76,11 @@
 	m_ranges = newRanges;
     }
 
-//!!!    cerr << "maxes now: ";
-//    for (int i = 0; in_range_for(m_ranges, i); ++i) {
-//	cerr << m_ranges[i].getMax() << " ";
-//    }
-//    cerr << endl;
+    cerr << "maxes (" << m_ranges.size() << ") now: ";
+    for (int i = 0; in_range_for(m_ranges, i); ++i) {
+	cerr << m_ranges[i].getMax() << " ";
+    }
+    cerr << endl;
 }
 
 MagnitudeRange