Mercurial > hg > vamp-plugin-sdk
comparison src/vamp-sdk/PluginAdapter.cpp @ 471:59f7c7ae2f64
Remove some debug output by default
author | Chris Cannam |
---|---|
date | Thu, 27 Oct 2016 11:57:48 +0100 |
parents | bd8484e19353 |
children | df32b473b9b6 |
comparison
equal
deleted
inserted
replaced
470:af4a1522ef15 | 471:59f7c7ae2f64 |
---|---|
602 if (m_fs.find(plugin) != m_fs.end()) { | 602 if (m_fs.find(plugin) != m_fs.end()) { |
603 size_t outputCount = 0; | 603 size_t outputCount = 0; |
604 if (m_pluginOutputs[plugin]) { | 604 if (m_pluginOutputs[plugin]) { |
605 outputCount = m_pluginOutputs[plugin]->size(); | 605 outputCount = m_pluginOutputs[plugin]->size(); |
606 } | 606 } |
607 std::cerr << "cleanup: " << outputCount << " output(s)" << std::endl; | 607 #ifdef DEBUG_PLUGIN_ADAPTER |
608 std::cerr << "PluginAdapterBase::Impl::cleanup: " << outputCount << " output(s)" << std::endl; | |
609 #endif | |
608 VampFeatureList *list = m_fs[plugin]; | 610 VampFeatureList *list = m_fs[plugin]; |
609 for (unsigned int i = 0; i < outputCount; ++i) { | 611 for (unsigned int i = 0; i < outputCount; ++i) { |
610 for (unsigned int j = 0; j < m_fsizes[plugin][i]; ++j) { | 612 for (unsigned int j = 0; j < m_fsizes[plugin][i]; ++j) { |
611 if (list[i].features[j].v1.label) { | 613 if (list[i].features[j].v1.label) { |
612 free(list[i].features[j].v1.label); | 614 free(list[i].features[j].v1.label); |