Mercurial > hg > piper-cpp
diff vamp-client/CapnpRRClient.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 | 3db4c7998faf |
line wrap: on
line diff
--- a/vamp-client/CapnpRRClient.h Thu Feb 09 14:19:38 2017 +0000 +++ b/vamp-client/CapnpRRClient.h Thu Feb 09 14:41:29 2017 +0000 @@ -38,7 +38,7 @@ #include "Loader.h" #include "PluginClient.h" -#include "PluginStub.h" +#include "PiperVampPlugin.h" #include "SynchronousTransport.h" #include "vamp-support/AssignedPluginHandleMapper.h" @@ -149,7 +149,7 @@ // Loader methods: ListResponse - listPluginData(const ListRequest &req) override { + list(const ListRequest &req) override { LOG_E("CapnpRRClient::listPluginData called"); @@ -177,7 +177,7 @@ } LoadResponse - loadPlugin(const LoadRequest &req) override { + load(const LoadRequest &req) override { LOG_E("CapnpRRClient::loadPlugin called"); @@ -190,12 +190,12 @@ resp.staticData, resp.defaultConfiguration); - Vamp::Plugin *plugin = new PluginStub(this, - req.pluginKey, - req.inputSampleRate, - req.adapterFlags, - resp.staticData, - resp.defaultConfiguration); + Vamp::Plugin *plugin = new PiperVampPlugin(this, + req.pluginKey, + req.inputSampleRate, + req.adapterFlags, + resp.staticData, + resp.defaultConfiguration); m_mapper.addPlugin(handle, plugin); @@ -210,7 +210,7 @@ virtual ConfigurationResponse - configure(PluginStub *plugin, + configure(PiperVampPlugin *plugin, PluginConfiguration config) override { LOG_E("CapnpRRClient::configure called"); @@ -247,7 +247,7 @@ virtual Vamp::Plugin::FeatureSet - process(PluginStub *plugin, + process(PiperVampPlugin *plugin, std::vector<std::vector<float> > inputBuffers, Vamp::RealTime timestamp) override { @@ -284,7 +284,7 @@ } virtual Vamp::Plugin::FeatureSet - finish(PluginStub *plugin) override { + finish(PiperVampPlugin *plugin) override { LOG_E("CapnpRRClient::finish called"); @@ -323,7 +323,7 @@ } virtual void - reset(PluginStub *plugin, + reset(PiperVampPlugin *plugin, PluginConfiguration config) override { // Reload the plugin on the server side, and configure it as requested