diff data/model/WritableWaveFileModel.cpp @ 690:1424aa29ae95

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:26:52 +0100
parents 573d45e9487b
children 21d39720d5da
line wrap: on
line diff
--- a/data/model/WritableWaveFileModel.cpp	Tue Jun 14 14:47:59 2011 +0100
+++ b/data/model/WritableWaveFileModel.cpp	Tue Jun 14 15:26:52 2011 +0100
@@ -109,7 +109,7 @@
     if (!m_writer) return false;
 
 #ifdef DEBUG_WRITABLE_WAVE_FILE_MODEL
-//    DEBUG << "WritableWaveFileModel::addSamples(" << count << ")" << endl;
+//    SVDEBUG << "WritableWaveFileModel::addSamples(" << count << ")" << endl;
 #endif
 
     if (!m_writer->writeSamples(samples, count)) {
@@ -123,12 +123,12 @@
 
     if (m_reader && m_reader->getChannelCount() == 0) {
 #ifdef DEBUG_WRITABLE_WAVE_FILE_MODEL
-        DEBUG << "WritableWaveFileModel::addSamples(" << count << "): calling updateFrameCount (initial)" << endl;
+        SVDEBUG << "WritableWaveFileModel::addSamples(" << count << "): calling updateFrameCount (initial)" << endl;
 #endif
         m_reader->updateFrameCount();
     } else if (++updateCounter == 100) {
 #ifdef DEBUG_WRITABLE_WAVE_FILE_MODEL
-        DEBUG << "WritableWaveFileModel::addSamples(" << count << "): calling updateFrameCount (periodic)" << endl;
+        SVDEBUG << "WritableWaveFileModel::addSamples(" << count << "): calling updateFrameCount (periodic)" << endl;
 #endif
         if (m_reader) m_reader->updateFrameCount();
         updateCounter = 0;
@@ -141,7 +141,7 @@
 WritableWaveFileModel::isOK() const
 {
     bool ok = (m_writer && m_writer->isOK());
-//    DEBUG << "WritableWaveFileModel::isOK(): ok = " << ok << endl;
+//    SVDEBUG << "WritableWaveFileModel::isOK(): ok = " << ok << endl;
     return ok;
 }
 
@@ -164,7 +164,7 @@
 size_t
 WritableWaveFileModel::getFrameCount() const
 {
-//    DEBUG << "WritableWaveFileModel::getFrameCount: count = " << m_frameCount << endl;
+//    SVDEBUG << "WritableWaveFileModel::getFrameCount: count = " << m_frameCount << endl;
     return m_frameCount;
 }