diff data/fft/FFTDataServer.cpp @ 280:daf89d31f45c

* Restore Scale setting which had mistakenly disappeared from spectrum * Some tweaks to spectrum peaks * Make spectrum default to 4096/75%... or is that overdoing it? * Show harmonic cursor even during playback if in measure mode and mouse in relevant pane * Avoid crash when trying to measure a non-layer * Various adjustments to some icons to make them look better in white-on-black schemes
author Chris Cannam
date Fri, 13 Jul 2007 15:54:17 +0000
parents 522f82311e4e
children 3020904de772
line wrap: on
line diff
--- a/data/fft/FFTDataServer.cpp	Fri Jul 13 10:51:15 2007 +0000
+++ b/data/fft/FFTDataServer.cpp	Fri Jul 13 15:54:17 2007 +0000
@@ -874,8 +874,10 @@
     if (!cache) return 0;
 
     if (!cache->haveSetColumnAt(col)) {
+#ifdef DEBUG_FFT_SERVER
         std::cerr << "FFTDataServer::getMagnitudeAt: calling fillColumn(" 
                   << x << ")" << std::endl;
+#endif
         fillColumn(x);
     }
     return cache->getMagnitudeAt(col, y);