diff layer/SpectrogramLayer.cpp @ 327:29fcf125f98b

* Pass StorageAdviser::Criteria into FFTModel constructor etc
author Chris Cannam
date Sun, 11 Nov 2007 20:31:12 +0000
parents 4f4f38a11cd2
children bbc9666cb961 d2d2521a6c7e
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp	Fri Nov 09 17:46:58 2007 +0000
+++ b/layer/SpectrogramLayer.cpp	Sun Nov 11 20:31:12 2007 +0000
@@ -878,6 +878,9 @@
 void
 SpectrogramLayer::setNormalizeVisibleArea(bool n)
 {
+    std::cerr << "SpectrogramLayer::setNormalizeVisibleArea(" << n
+              << ") (from " << m_normalizeVisibleArea << ")" << std::endl;
+
     if (m_normalizeVisibleArea == n) return;
 
     invalidatePixmapCaches();
@@ -1539,8 +1542,8 @@
                                        m_windowSize,
                                        getWindowIncrement(),
                                        fftSize,
-//!!!                                       true,
-                                       false,
+                                       true,
+                                       StorageAdviser::SpeedCritical,
                                        m_candidateFillStartFrame);
 
         if (!model->isOK()) {