diff audioio/AudioGenerator.cpp @ 233:8aace2d9f1c2

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:12 +0100
parents 8c13e8219903
children a98f1638c5ec eb9a16538173 64724dbc5f05
line wrap: on
line diff
--- a/audioio/AudioGenerator.cpp	Tue Jun 14 14:49:22 2011 +0100
+++ b/audioio/AudioGenerator.cpp	Tue Jun 14 15:27:12 2011 +0100
@@ -66,7 +66,7 @@
 AudioGenerator::~AudioGenerator()
 {
 #ifdef DEBUG_AUDIO_GENERATOR
-    DEBUG << "AudioGenerator::~AudioGenerator" << endl;
+    SVDEBUG << "AudioGenerator::~AudioGenerator" << endl;
 #endif
 }
 
@@ -160,7 +160,7 @@
 AudioGenerator::playPluginConfigurationChanged(const Playable *playable,
                                                QString configurationXml)
 {
-//    DEBUG << "AudioGenerator::playPluginConfigurationChanged" << endl;
+//    SVDEBUG << "AudioGenerator::playPluginConfigurationChanged" << endl;
 
     const Model *model = dynamic_cast<const Model *>(playable);
     if (!model) {
@@ -171,7 +171,7 @@
     }
 
     if (m_synthMap.find(model) == m_synthMap.end()) {
-        DEBUG << "AudioGenerator::playPluginConfigurationChanged: We don't know about this plugin" << endl;
+        SVDEBUG << "AudioGenerator::playPluginConfigurationChanged: We don't know about this plugin" << endl;
         return;
     }
 
@@ -309,7 +309,7 @@
 {
     if (m_targetChannelCount == targetChannelCount) return;
 
-//    DEBUG << "AudioGenerator::setTargetChannelCount(" << targetChannelCount << ")" << endl;
+//    SVDEBUG << "AudioGenerator::setTargetChannelCount(" << targetChannelCount << ")" << endl;
 
     QMutexLocker locker(&m_mutex);
     m_targetChannelCount = targetChannelCount;
@@ -464,7 +464,7 @@
 
 	size_t sourceChannel = (c % modelChannels);
 
-//	DEBUG << "mixing channel " << c << " from source channel " << sourceChannel << endl;
+//	SVDEBUG << "mixing channel " << c << " from source channel " << sourceChannel << endl;
 
 	float channelGain = gain;
 	if (pan != 0.0) {