comparison vamp-client/PluginClient.h @ 97:427c4c725085

Bring in the Request/Response classes that were in the Vamp SDK, adding them to vamp-support in here instead
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 13 Oct 2016 18:05:35 +0100
parents a660dca988f8
children ff3fd8d1b2dc
comparison
equal deleted inserted replaced
96:215c9fb6b7a4 97:427c4c725085
1 1
2 #ifndef PIPER_PLUGIN_CLIENT_H 2 #ifndef PIPER_PLUGIN_CLIENT_H
3 #define PIPER_PLUGIN_CLIENT_H 3 #define PIPER_PLUGIN_CLIENT_H
4 4
5 #include <vamp-hostsdk/PluginConfiguration.h> 5 #include "vamp-support/PluginConfiguration.h"
6 6
7 namespace piper { 7 namespace piper_vamp {
8 namespace vampclient { 8 namespace client {
9 9
10 class PluginStub; 10 class PluginStub;
11 11
12 class PluginClient 12 class PluginClient
13 { 13 {
14 public: 14 public:
15 virtual 15 virtual
16 Vamp::Plugin::OutputList 16 Vamp::Plugin::OutputList
17 configure(PluginStub *plugin, 17 configure(PluginStub *plugin,
18 Vamp::HostExt::PluginConfiguration config) = 0; 18 PluginConfiguration config) = 0;
19 19
20 virtual 20 virtual
21 Vamp::Plugin::FeatureSet 21 Vamp::Plugin::FeatureSet
22 process(PluginStub *plugin, 22 process(PluginStub *plugin,
23 std::vector<std::vector<float> > inputBuffers, 23 std::vector<std::vector<float> > inputBuffers,
27 Vamp::Plugin::FeatureSet 27 Vamp::Plugin::FeatureSet
28 finish(PluginStub *plugin) = 0; 28 finish(PluginStub *plugin) = 0;
29 29
30 virtual 30 virtual
31 void 31 void
32 reset(PluginStub *plugin, 32 reset(PluginStub *plugin, PluginConfiguration config) = 0;
33 Vamp::HostExt::PluginConfiguration config) = 0;
34 }; 33 };
35 34
36 } 35 }
37 } 36 }
38 37