Mercurial > hg > svcore
diff plugin/LADSPAPluginInstance.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 | 06f13a3b9e9e |
children | 7eb389da7976 |
line wrap: on
line diff
--- a/plugin/LADSPAPluginInstance.cpp Tue Jun 14 14:47:59 2011 +0100 +++ b/plugin/LADSPAPluginInstance.cpp Tue Jun 14 15:26:52 2011 +0100 @@ -207,7 +207,7 @@ for (unsigned int i = 0; i < m_controlPortsIn.size(); ++i) { if (id == m_descriptor->PortNames[m_controlPortsIn[i].first]) { #ifdef DEBUG_LADSPA - DEBUG << "LADSPAPluginInstance::setParameter: Found id " + SVDEBUG << "LADSPAPluginInstance::setParameter: Found id " << id << " at control port " << i << endl; #endif setParameterValue(i, value); @@ -220,7 +220,7 @@ LADSPAPluginInstance::init(int idealChannelCount) { #ifdef DEBUG_LADSPA - DEBUG << "LADSPAPluginInstance::init(" << idealChannelCount << "): plugin has " + SVDEBUG << "LADSPAPluginInstance::init(" << idealChannelCount << "): plugin has " << m_descriptor->PortCount << " ports" << endl; #endif @@ -232,12 +232,12 @@ if (LADSPA_IS_PORT_INPUT(m_descriptor->PortDescriptors[i])) { #ifdef DEBUG_LADSPA - DEBUG << "LADSPAPluginInstance::init: port " << i << " is audio in" << endl; + SVDEBUG << "LADSPAPluginInstance::init: port " << i << " is audio in" << endl; #endif m_audioPortsIn.push_back(i); } else { #ifdef DEBUG_LADSPA - DEBUG << "LADSPAPluginInstance::init: port " << i << " is audio out" << endl; + SVDEBUG << "LADSPAPluginInstance::init: port " << i << " is audio out" << endl; #endif m_audioPortsOut.push_back(i); } @@ -247,7 +247,7 @@ if (LADSPA_IS_PORT_INPUT(m_descriptor->PortDescriptors[i])) { #ifdef DEBUG_LADSPA - DEBUG << "LADSPAPluginInstance::init: port " << i << " is control in" << endl; + SVDEBUG << "LADSPAPluginInstance::init: port " << i << " is control in" << endl; #endif LADSPA_Data *data = new LADSPA_Data(0.0); m_controlPortsIn.push_back( @@ -256,7 +256,7 @@ } else { #ifdef DEBUG_LADSPA - DEBUG << "LADSPAPluginInstance::init: port " << i << " is control out" << endl; + SVDEBUG << "LADSPAPluginInstance::init: port " << i << " is control out" << endl; #endif LADSPA_Data *data = new LADSPA_Data(0.0); m_controlPortsOut.push_back( @@ -273,7 +273,7 @@ } #ifdef DEBUG_LADSPA else - DEBUG << "LADSPAPluginInstance::init - " + SVDEBUG << "LADSPAPluginInstance::init - " << "unrecognised port type" << endl; #endif } @@ -341,7 +341,7 @@ LADSPAPluginInstance::~LADSPAPluginInstance() { #ifdef DEBUG_LADSPA - DEBUG << "LADSPAPluginInstance::~LADSPAPluginInstance" << endl; + SVDEBUG << "LADSPAPluginInstance::~LADSPAPluginInstance" << endl; #endif if (m_instanceHandles.size() != 0) { // "isOK()"