comparison vamp-client/PluginClient.h @ 185:3eb00e5c76c4

Pull step & block size out into framing struct, return in config Update the C++ code to separate out the framing parameters (step and block size) from the configuration structure into their own structure, as in the latest schema, and to return the accepted framing params in the configuration response. This also implies that the plugin stub (which adapts Piper API back to Vamp) makes a note of the returned values, making them available via its own getPreferredStep/BlockSize so that the host can retry the initialise call in the case where it failed for having the wrong values first time.
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 03 Feb 2017 16:23:21 +0000
parents ff3fd8d1b2dc
children ad6025dc0b04 c67a0a945b6b
comparison
equal deleted inserted replaced
184:150cfa0c71e1 185:3eb00e5c76c4
45 45
46 class PluginClient 46 class PluginClient
47 { 47 {
48 public: 48 public:
49 virtual 49 virtual
50 Vamp::Plugin::OutputList 50 ConfigurationResponse
51 configure(PluginStub *plugin, 51 configure(PluginStub *plugin,
52 PluginConfiguration config) = 0; 52 PluginConfiguration config) = 0;
53 53
54 virtual 54 virtual
55 Vamp::Plugin::FeatureSet 55 Vamp::Plugin::FeatureSet