Mercurial > hg > vamp-plugin-sdk
diff vamp-sdk/PluginAdapter.cpp @ 192:d4fbd4e6fdbf
* Add hasDuration to output descriptor as well as the features themselves
author | cannam |
---|---|
date | Thu, 18 Sep 2008 16:08:28 +0000 |
parents | 5ce2c3f79a45 |
children | 27cfae2a4155 |
line wrap: on
line diff
--- a/vamp-sdk/PluginAdapter.cpp Thu Sep 18 11:47:05 2008 +0000 +++ b/vamp-sdk/PluginAdapter.cpp Thu Sep 18 16:08:28 2008 +0000 @@ -166,6 +166,8 @@ << plugin->getVampApiVersion() << " does not match actual API version " << VAMP_API_VERSION << std::endl; + std::cerr << "(Plugin identifier is: " + << plugin->getIdentifier() << ")" << std::endl; delete plugin; return 0; } @@ -682,6 +684,7 @@ } desc->sampleRate = od.sampleRate; + desc->hasDuration = od.hasDuration; return desc; }