comparison layer/SpectrogramLayer.cpp @ 547:0ce7566717b2

* Remove a bit of debug output
author Chris Cannam
date Wed, 23 Sep 2009 11:21:07 +0000
parents be5c35d3f409
children eabefd562995
comparison
equal deleted inserted replaced
546:24d1d1528717 547:0ce7566717b2
2387 << "x" << h << " to " 2387 << "x" << h << " to "
2388 << scaledRight-scaledLeft << "x" << h << endl; 2388 << scaledRight-scaledLeft << "x" << h << endl;
2389 #endif 2389 #endif
2390 Preferences::SpectrogramXSmoothing xsmoothing = 2390 Preferences::SpectrogramXSmoothing xsmoothing =
2391 Preferences::getInstance()->getSpectrogramXSmoothing(); 2391 Preferences::getInstance()->getSpectrogramXSmoothing();
2392 cerr << "xsmoothing == " << xsmoothing << endl; 2392 // cerr << "xsmoothing == " << xsmoothing << endl;
2393 QImage scaled = m_drawBuffer.scaled 2393 QImage scaled = m_drawBuffer.scaled
2394 (scaledRight - scaledLeft, h, 2394 (scaledRight - scaledLeft, h,
2395 Qt::IgnoreAspectRatio, 2395 Qt::IgnoreAspectRatio,
2396 ((xsmoothing == Preferences::SpectrogramXInterpolated) ? 2396 ((xsmoothing == Preferences::SpectrogramXInterpolated) ?
2397 Qt::SmoothTransformation : Qt::FastTransformation)); 2397 Qt::SmoothTransformation : Qt::FastTransformation));