diff vamp-support/LoaderRequests.h @ 247:8a031eb9a25f

Merge branch 'output-type-uri'
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 15 Jun 2017 09:52:01 +0100
parents f548eb11ae01
children 09753ad777db
line wrap: on
line diff
--- a/vamp-support/LoaderRequests.h	Mon May 22 08:57:02 2017 +0100
+++ b/vamp-support/LoaderRequests.h	Thu Jun 15 09:52:01 2017 +0100
@@ -39,6 +39,7 @@
 
 #include "PluginStaticData.h"
 #include "PluginConfiguration.h"
+#include "StaticOutputRdf.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 = StaticOutputRdf().loadStaticOutputInfo(key);
+	    response.available.push_back(psd);
 	    delete p;
 	}
 
@@ -99,6 +102,9 @@
 	    (req.pluginKey,
 	     loader->getPluginCategory(req.pluginKey),
 	     plugin);
+        
+        response.staticData.staticOutputInfo =
+            StaticOutputRdf().loadStaticOutputInfo(req.pluginKey);
 
 	int defaultChannels = 0;
 	if (plugin->getMinChannelCount() == plugin->getMaxChannelCount()) {