comparison framework/TransformUserConfigurator.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 068235cf5bf7
comparison
equal deleted inserted replaced
232:025065fd5b49 233:8aace2d9f1c2
35 Vamp::PluginBase *plugin, 35 Vamp::PluginBase *plugin,
36 int &minChannels, int &maxChannels) 36 int &minChannels, int &maxChannels)
37 { 37 {
38 if (plugin && plugin->getType() == "Feature Extraction Plugin") { 38 if (plugin && plugin->getType() == "Feature Extraction Plugin") {
39 Vamp::Plugin *vp = static_cast<Vamp::Plugin *>(plugin); 39 Vamp::Plugin *vp = static_cast<Vamp::Plugin *>(plugin);
40 DEBUG << "TransformUserConfigurator::getChannelRange: is a VP" << endl; 40 SVDEBUG << "TransformUserConfigurator::getChannelRange: is a VP" << endl;
41 minChannels = vp->getMinChannelCount(); 41 minChannels = vp->getMinChannelCount();
42 maxChannels = vp->getMaxChannelCount(); 42 maxChannels = vp->getMaxChannelCount();
43 return true; 43 return true;
44 } else { 44 } else {
45 DEBUG << "TransformUserConfigurator::getChannelRange: is not a VP" << endl; 45 SVDEBUG << "TransformUserConfigurator::getChannelRange: is not a VP" << endl;
46 return TransformFactory::getInstance()-> 46 return TransformFactory::getInstance()->
47 getTransformChannelRange(identifier, minChannels, maxChannels); 47 getTransformChannelRange(identifier, minChannels, maxChannels);
48 } 48 }
49 } 49 }
50 50
117 117
118 RealTimePluginInstance *rtp = 118 RealTimePluginInstance *rtp =
119 static_cast<RealTimePluginInstance *>(plugin); 119 static_cast<RealTimePluginInstance *>(plugin);
120 120
121 if (effect && source) { 121 if (effect && source) {
122 DEBUG << "Setting auditioning effect" << endl; 122 SVDEBUG << "Setting auditioning effect" << endl;
123 source->setAuditioningEffect(rtp); 123 source->setAuditioningEffect(rtp);
124 } 124 }
125 } 125 }
126 126
127 int sourceChannels = 1; 127 int sourceChannels = 1;