comparison vamp-support/RequestResponse.h @ 188:90c962b68d7f

Merge pull request #2 from piper-audio/dev/step-and-block-size Pull step & block size out into framing struct, return in config
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 06 Feb 2017 12:04:25 +0000
parents 3eb00e5c76c4
children 02de5df3a884
comparison
equal deleted inserted replaced
184:150cfa0c71e1 188:90c962b68d7f
185 * \class ConfigurationResponse 185 * \class ConfigurationResponse
186 * 186 *
187 * The return value from a configuration request (i.e. setting the 187 * The return value from a configuration request (i.e. setting the
188 * parameters and initialising the plugin). If the configuration was 188 * parameters and initialising the plugin). If the configuration was
189 * successful, the output list will contain the final 189 * successful, the output list will contain the final
190 * post-initialisation output descriptors. If configuration failed, 190 * post-initialisation output descriptors and the required step and
191 * block size. (The step and block size will usually match those
192 * passed to configure, but may differ if the parameter settings
193 * turned out to be incompatible with those.) If configuration failed,
191 * the output list will be empty. 194 * the output list will be empty.
192 * 195 *
193 * \see PluginConfiguration, ConfigurationRequest, LoadRequest, LoadResponse 196 * \see PluginConfiguration, ConfigurationRequest, LoadRequest, LoadResponse
194 */ 197 */
195 struct ConfigurationResponse 198 struct ConfigurationResponse
198 ConfigurationResponse() : // failed by default 201 ConfigurationResponse() : // failed by default
199 plugin(0) { } 202 plugin(0) { }
200 203
201 Vamp::Plugin *plugin; 204 Vamp::Plugin *plugin;
202 Vamp::Plugin::OutputList outputs; 205 Vamp::Plugin::OutputList outputs;
206 Framing framing;
203 }; 207 };
204 208
205 /** 209 /**
206 * \class ProcessRequest 210 * \class ProcessRequest
207 * 211 *