diff vamp-support/RequestResponse.h @ 287:09753ad777db

Add support for ProgramParameters. In theory this means we can select a program and then re-query the plugin's parameters and get the right values back, just as would happen if we were working with the remote extractor directly as a local Vamp plugin.
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 07 Apr 2020 15:56:02 +0100
parents 02de5df3a884
children
line wrap: on
line diff
--- a/vamp-support/RequestResponse.h	Tue Jan 07 11:20:47 2020 +0000
+++ b/vamp-support/RequestResponse.h	Tue Apr 07 15:56:02 2020 +0100
@@ -39,6 +39,7 @@
 
 #include "PluginStaticData.h"
 #include "PluginConfiguration.h"
+#include "PluginProgramParameters.h"
 
 #include <map>
 #include <string>
@@ -161,6 +162,13 @@
      * only valid if plugin is non-0.
      */
     PluginConfiguration defaultConfiguration;
+
+    /**
+     * The parameter values associated with any program settings
+     * available for the plugin. The contents of this structure are
+     * only valid if plugin is non-0.
+     */
+    PluginProgramParameters programParameters;
 };
 
 /**