Mercurial > hg > piper-cpp
diff vamp-support/LoaderRequests.h @ 222:e0e3d9efa774
Stub out RDF type lookup
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 09 Jun 2017 13:56:34 +0100 |
parents | 52322dde68ea |
children | f548eb11ae01 |
line wrap: on
line diff
--- a/vamp-support/LoaderRequests.h Fri Jun 09 13:06:11 2017 +0100 +++ b/vamp-support/LoaderRequests.h Fri Jun 09 13:56:34 2017 +0100 @@ -39,6 +39,7 @@ #include "PluginStaticData.h" #include "PluginConfiguration.h" +#include "RdfTypes.h" #include <vamp-hostsdk/PluginLoader.h> @@ -73,8 +74,10 @@ Vamp::Plugin *p = loader->loadPlugin(key, 44100, 0); if (!p) continue; auto category = loader->getPluginCategory(key); - response.available.push_back - (PluginStaticData::fromPlugin(key, category, p)); + PluginStaticData psd = + PluginStaticData::fromPlugin(key, category, p); + psd.staticOutputInfo = RdfTypes().loadStaticOutputInfo(key); + response.available.push_back(psd); delete p; } @@ -99,6 +102,9 @@ (req.pluginKey, loader->getPluginCategory(req.pluginKey), plugin); + + response.staticData.staticOutputInfo = + RdfTypes().loadStaticOutputInfo(req.pluginKey); int defaultChannels = 0; if (plugin->getMinChannelCount() == plugin->getMaxChannelCount()) {