diff layer/SpectrumLayer.cpp @ 587:4806715f7a19

Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
author Chris Cannam
date Tue, 14 Jun 2011 15:27:05 +0100
parents f4960f8ce798
children a13aa5320221 5b72899d692b
line wrap: on
line diff
--- a/layer/SpectrumLayer.cpp	Tue Jun 14 14:48:29 2011 +0100
+++ b/layer/SpectrumLayer.cpp	Tue Jun 14 15:27:05 2011 +0100
@@ -57,7 +57,7 @@
 void
 SpectrumLayer::setModel(DenseTimeValueModel *model)
 {
-    DEBUG << "SpectrumLayer::setModel(" << model << ") from " << m_originModel << endl;
+    SVDEBUG << "SpectrumLayer::setModel(" << model << ") from " << m_originModel << endl;
     
     if (m_originModel == model) return;
 
@@ -79,7 +79,7 @@
 void
 SpectrumLayer::setChannel(int channel)
 {
-    DEBUG << "SpectrumLayer::setChannel(" << channel << ") from " << m_channel << endl;
+    SVDEBUG << "SpectrumLayer::setChannel(" << channel << ") from " << m_channel << endl;
     
     m_channelSet = true;
     
@@ -654,12 +654,12 @@
 {
     if (!m_originModel || !m_originModel->isOK() ||
         !m_originModel->isReady()) {
-        DEBUG << "SpectrumLayer::paint: no origin model, or origin model not OK or not ready" << endl;
+        SVDEBUG << "SpectrumLayer::paint: no origin model, or origin model not OK or not ready" << endl;
         return;
     }
 
     if (m_newFFTNeeded) {
-        DEBUG << "SpectrumLayer::paint: new FFT needed, calling setupFFT" << endl;
+        SVDEBUG << "SpectrumLayer::paint: new FFT needed, calling setupFFT" << endl;
         const_cast<SpectrumLayer *>(this)->setupFFT(); //ugh
     }
 
@@ -682,7 +682,7 @@
 
         // draw peak lines
 
-//        DEBUG << "Showing peaks..." << endl;
+//        SVDEBUG << "Showing peaks..." << endl;
 
         size_t col = v->getCentreFrame() / fft->getResolution();