changeset 471:59f7c7ae2f64

Remove some debug output by default
author Chris Cannam
date Thu, 27 Oct 2016 11:57:48 +0100
parents af4a1522ef15
children 79a219ba6178
files src/vamp-sdk/PluginAdapter.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/vamp-sdk/PluginAdapter.cpp	Thu Oct 20 14:05:05 2016 +0100
+++ b/src/vamp-sdk/PluginAdapter.cpp	Thu Oct 27 11:57:48 2016 +0100
@@ -604,7 +604,9 @@
         if (m_pluginOutputs[plugin]) {
             outputCount = m_pluginOutputs[plugin]->size();
         }
-        std::cerr << "cleanup: " << outputCount << " output(s)" << std::endl;
+#ifdef DEBUG_PLUGIN_ADAPTER
+        std::cerr << "PluginAdapterBase::Impl::cleanup: " << outputCount << " output(s)" << std::endl;
+#endif
         VampFeatureList *list = m_fs[plugin];
         for (unsigned int i = 0; i < outputCount; ++i) {
             for (unsigned int j = 0; j < m_fsizes[plugin][i]; ++j) {