Mercurial > hg > piper-cpp
comparison 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 |
comparison
equal
deleted
inserted
replaced
286:b3b2e092bd61 | 287:09753ad777db |
---|---|
37 #ifndef PIPER_REQUEST_RESPONSE_H | 37 #ifndef PIPER_REQUEST_RESPONSE_H |
38 #define PIPER_REQUEST_RESPONSE_H | 38 #define PIPER_REQUEST_RESPONSE_H |
39 | 39 |
40 #include "PluginStaticData.h" | 40 #include "PluginStaticData.h" |
41 #include "PluginConfiguration.h" | 41 #include "PluginConfiguration.h" |
42 #include "PluginProgramParameters.h" | |
42 | 43 |
43 #include <map> | 44 #include <map> |
44 #include <string> | 45 #include <string> |
45 | 46 |
46 namespace piper_vamp { | 47 namespace piper_vamp { |
159 * The default configuration for this plugin, that is, default | 160 * The default configuration for this plugin, that is, default |
160 * values for parameters etc. The contents of this structure are | 161 * values for parameters etc. The contents of this structure are |
161 * only valid if plugin is non-0. | 162 * only valid if plugin is non-0. |
162 */ | 163 */ |
163 PluginConfiguration defaultConfiguration; | 164 PluginConfiguration defaultConfiguration; |
165 | |
166 /** | |
167 * The parameter values associated with any program settings | |
168 * available for the plugin. The contents of this structure are | |
169 * only valid if plugin is non-0. | |
170 */ | |
171 PluginProgramParameters programParameters; | |
164 }; | 172 }; |
165 | 173 |
166 /** | 174 /** |
167 * \class ConfigurationRequest | 175 * \class ConfigurationRequest |
168 * | 176 * |