Mercurial > hg > vamp-plugin-sdk
comparison vamp-hostsdk/PluginLoader.h @ 431:2819b5c9a395 vampipe
Use ConfigurationRequest/Response, introduce ProcessRequest/Response.
author | Chris Cannam |
---|---|
date | Wed, 18 May 2016 10:53:19 +0100 |
parents | 9c25e2289faa |
children | 86624d166f88 |
comparison
equal
deleted
inserted
replaced
430:fbdb06ce1e9a | 431:2819b5c9a395 |
---|---|
228 */ | 228 */ |
229 LoadResponse loadPlugin(LoadRequest req); | 229 LoadResponse loadPlugin(LoadRequest req); |
230 | 230 |
231 /** | 231 /** |
232 * Configure and initialise a Vamp plugin. This applies the | 232 * Configure and initialise a Vamp plugin. This applies the |
233 * parameter and program settings found in the supplied | 233 * parameter and program settings found in the PluginConfiguration |
234 * PluginConfiguration structure and initialises the plugin. (Many | 234 * part of the supplied ConfigurationRequest and initialises the |
235 * hosts will prefer to do this themselves in stages, by calling | 235 * plugin. (Many hosts will prefer to do this themselves in |
236 * methods on the plugin directly.) | 236 * stages, by calling methods on the plugin directly.) |
237 * | 237 * |
238 * Returns the result of calling getOutputDescriptors() on the | 238 * Return a ConfigurationResponse containing the result of calling |
239 * configured and initialised plugin, representing the outputs of | 239 * getOutputDescriptors() on the configured and initialised |
240 * the plugin following configuration (since output ranges etc can | 240 * plugin, representing the outputs of the plugin following |
241 * depend on the parameters). If plugin initialisation fails, | 241 * configuration (since output ranges etc can depend on the |
242 * returns an empty list. | 242 * parameters). If initialisation fails, returns an empty list. |
243 * | 243 * |
244 * \see PluginConfiguration | 244 * \see PluginConfiguration, ConfigurationRequest, ConfigurationResponse |
245 */ | 245 */ |
246 Plugin::OutputList configurePlugin(Plugin *plugin, | 246 ConfigurationResponse configurePlugin(ConfigurationRequest req); |
247 PluginConfiguration configuration); | |
248 | 247 |
249 /** | 248 /** |
250 * Given a Vamp plugin library name and plugin identifier, return | 249 * Given a Vamp plugin library name and plugin identifier, return |
251 * the corresponding plugin key in a form suitable for passing in to | 250 * the corresponding plugin key in a form suitable for passing in to |
252 * loadPlugin(). | 251 * loadPlugin(). |