comparison transform/TransformFactory.cpp @ 137:006c90387f40

* Fix many compile warnings, remove some debug output
author Chris Cannam
date Mon, 30 Apr 2007 13:36:23 +0000
parents b4110b17bca8
children aaf806ce329a
comparison
equal deleted inserted replaced
136:37c26877ca5f 137:006c90387f40
277 } 277 }
278 278
279 bool configurable = (!plugin->getPrograms().empty() || 279 bool configurable = (!plugin->getPrograms().empty() ||
280 !plugin->getParameterDescriptors().empty()); 280 !plugin->getParameterDescriptors().empty());
281 281
282 std::cerr << "Adding feature extraction plugin transform: id = " << transformId.toStdString() << std::endl; 282 // std::cerr << "Feature extraction plugin transform: " << transformId.toStdString() << std::endl;
283 283
284 transforms[transformId] = 284 transforms[transformId] =
285 TransformDesc(tr("Analysis"), 285 TransformDesc(tr("Analysis"),
286 category, 286 category,
287 transformId, 287 transformId,
590 generator = true; 590 generator = true;
591 } 591 }
592 592
593 if (output != "A") { 593 if (output != "A") {
594 int outputNo = output.toInt(); 594 int outputNo = output.toInt();
595 if (outputNo >= 0 && outputNo < desc->controlOutputPortCount) { 595 if (outputNo >= 0 && outputNo < int(desc->controlOutputPortCount)) {
596 outputLabel = desc->controlOutputPortNames[outputNo].c_str(); 596 outputLabel = desc->controlOutputPortNames[outputNo].c_str();
597 } 597 }
598 } 598 }
599 599
600 size_t sampleRate = inputModel->getSampleRate(); 600 size_t sampleRate = inputModel->getSampleRate();