# HG changeset patch # User Chris Cannam # Date 1215694256 0 # Node ID 4cb5cd9ccac7b35b5af1dbe5e73359928a4d57bb # Parent b83db9792d1183d8b7b3ff54fe5a6d128d305724 * Updates for 1.3 diff -r b83db9792d11 -r 4cb5cd9ccac7 layer/SpectrogramLayer.cpp --- 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); } diff -r b83db9792d11 -r 4cb5cd9ccac7 widgets/PluginParameterBox.cpp --- 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 valueNames = params[i].valueNames;