Mercurial > hg > piper-cpp
comparison vamp-client/PluginClient.h @ 214:0906984b9496
Merge pull request #5 from piper-audio/dev/rename-pluginstub
Dev/rename pluginstub
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 09 Feb 2017 14:41:29 +0000 |
parents | df65480a08de |
children | 16842bf06026 |
comparison
equal
deleted
inserted
replaced
211:8183c3be5592 | 214:0906984b9496 |
---|---|
39 #include "vamp-support/PluginConfiguration.h" | 39 #include "vamp-support/PluginConfiguration.h" |
40 | 40 |
41 namespace piper_vamp { | 41 namespace piper_vamp { |
42 namespace client { | 42 namespace client { |
43 | 43 |
44 class PluginStub; | 44 class PiperVampPlugin; |
45 | 45 |
46 /** | 46 /** |
47 * Interface for a client that accepts Vamp-like structures (Plugin | 47 * Interface for a client that accepts Vamp-like structures (Plugin |
48 * and the classes in vamp-support) and communicates with a Piper | 48 * and the classes in vamp-support) and communicates with a Piper |
49 * server, using some serialisation and transport defined by the | 49 * server, using some serialisation and transport defined by the |
52 class PluginClient | 52 class PluginClient |
53 { | 53 { |
54 public: | 54 public: |
55 virtual | 55 virtual |
56 ConfigurationResponse | 56 ConfigurationResponse |
57 configure(PluginStub *plugin, | 57 configure(PiperVampPlugin *plugin, |
58 PluginConfiguration config) = 0; | 58 PluginConfiguration config) = 0; |
59 | 59 |
60 virtual | 60 virtual |
61 Vamp::Plugin::FeatureSet | 61 Vamp::Plugin::FeatureSet |
62 process(PluginStub *plugin, | 62 process(PiperVampPlugin *plugin, |
63 std::vector<std::vector<float> > inputBuffers, | 63 std::vector<std::vector<float> > inputBuffers, |
64 Vamp::RealTime timestamp) = 0; | 64 Vamp::RealTime timestamp) = 0; |
65 | 65 |
66 virtual | 66 virtual |
67 Vamp::Plugin::FeatureSet | 67 Vamp::Plugin::FeatureSet |
68 finish(PluginStub *plugin) = 0; | 68 finish(PiperVampPlugin *plugin) = 0; |
69 | 69 |
70 virtual | 70 virtual |
71 void | 71 void |
72 reset(PluginStub *plugin, | 72 reset(PiperVampPlugin *plugin, |
73 PluginConfiguration config) = 0; | 73 PluginConfiguration config) = 0; |
74 }; | 74 }; |
75 | 75 |
76 } | 76 } |
77 } | 77 } |