changeset 407:4cb5cd9ccac7 sv1-v1.3 sv1-v1.3rc1

* Updates for 1.3
author Chris Cannam
date Thu, 10 Jul 2008 12:50:56 +0000
parents b83db9792d11
children 46a6daf1119b
files layer/SpectrogramLayer.cpp widgets/PluginParameterBox.cpp
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp	Mon Jul 07 16:49:53 2008 +0000
+++ b/layer/SpectrogramLayer.cpp	Thu Jul 10 12:50:56 2008 +0000
@@ -590,7 +590,9 @@
                 return;
             }
             int x = v->getXForFrame(startFrame);
+#ifdef DEBUG_SPECTROGRAM_REPAINT
             std::cerr << "clipping from 0 to " << x-1 << std::endl;
+#endif
             if (x > 1) {
                 i->second.validArea &=
                     QRect(0, 0, x-1, v->height());
@@ -2425,8 +2427,10 @@
     Profiler profiler2("SpectrogramLayer::paint: draw image");
 
     if (recreateWholePixmapCache) {
+#ifdef DEBUG_SPECTROGRAM_REPAINT
         std::cerr << "Recreating pixmap cache: width = " << v->width()
                   << ", height = " << h << std::endl;
+#endif
 	cache.pixmap = QPixmap(v->width(), h);
     }
 
--- a/widgets/PluginParameterBox.cpp	Mon Jul 07 16:49:53 2008 +0000
+++ b/widgets/PluginParameterBox.cpp	Thu Jul 10 12:50:56 2008 +0000
@@ -109,8 +109,8 @@
         float qtz = 0.0;
         if (params[i].isQuantized) qtz = params[i].quantizeStep;
 
-        std::cerr << "PluginParameterBox: hint = " << hint << ", min = " << min << ", max = "
-                  << max << ", qtz = " << qtz << std::endl;
+//        std::cerr << "PluginParameterBox: hint = " << hint << ", min = " << min << ", max = "
+//                  << max << ", qtz = " << qtz << std::endl;
 
         std::vector<std::string> valueNames = params[i].valueNames;