Mercurial > hg > vamp-plugin-sdk
diff vamp-sdk/PluginAdapter.cpp @ 16:61887dda7fe0
* Make the host capable of doing something useful!
author | cannam |
---|---|
date | Fri, 07 Apr 2006 15:32:10 +0000 |
parents | 6c5466fbea90 |
children | 1eb44d33a371 |
line wrap: on
line diff
--- a/vamp-sdk/PluginAdapter.cpp Thu Apr 06 17:23:41 2006 +0000 +++ b/vamp-sdk/PluginAdapter.cpp Fri Apr 07 15:32:10 2006 +0000 @@ -578,7 +578,7 @@ int i = m_fsizes[plugin].size(); if (i >= n) return; - std::cerr << "resizing from " << i << std::endl; +// std::cerr << "resizing from " << i << std::endl; m_fs[plugin] = (VampFeatureList *)realloc (m_fs[plugin], n * sizeof(VampFeatureList)); @@ -595,13 +595,13 @@ void PluginAdapterBase::resizeFL(Plugin *plugin, int n, size_t sz) { - std::cerr << "PluginAdapterBase::resizeFL(" << plugin << ", " << n << ", " - << sz << ")" << std::endl; +// std::cerr << "PluginAdapterBase::resizeFL(" << plugin << ", " << n << ", " +// << sz << ")" << std::endl; size_t i = m_fsizes[plugin][n]; if (i >= sz) return; - std::cerr << "resizing from " << i << std::endl; +// std::cerr << "resizing from " << i << std::endl; m_fs[plugin][n].features = (VampFeature *)realloc (m_fs[plugin][n].features, sz * sizeof(VampFeature)); @@ -618,14 +618,13 @@ void PluginAdapterBase::resizeFV(Plugin *plugin, int n, int j, size_t sz) { - - std::cerr << "PluginAdapterBase::resizeFV(" << plugin << ", " << n << ", " - << j << ", " << sz << ")" << std::endl; +// std::cerr << "PluginAdapterBase::resizeFV(" << plugin << ", " << n << ", " +// << j << ", " << sz << ")" << std::endl; size_t i = m_fvsizes[plugin][n][j]; if (i >= sz) return; - std::cerr << "resizing from " << i << std::endl; +// std::cerr << "resizing from " << i << std::endl; m_fs[plugin][n].features[j].values = (float *)realloc (m_fs[plugin][n].features[j].values, sz * sizeof(float));