diff vamp-client/qt/test.cpp @ 207:61034472c304

Rename methods to avoid referring to plugins in Piper-world
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 09 Feb 2017 13:25:35 +0000
parents bf8e3e7dd7de
children c67a0a945b6b
line wrap: on
line diff
--- a/vamp-client/qt/test.cpp	Thu Feb 09 12:54:00 2017 +0000
+++ b/vamp-client/qt/test.cpp	Thu Feb 09 13:25:35 2017 +0000
@@ -60,7 +60,7 @@
             
         piper_vamp::client::CapnpRRClient client(&transport, nullptr);
 
-        piper_vamp::ListResponse lr = client.listPluginData({});
+        piper_vamp::ListResponse lr = client.list({});
         cerr << "Plugins available:" << endl;
         int i = 1;
         for (const auto &p: lr.available) {
@@ -70,7 +70,7 @@
         piper_vamp::LoadRequest req;
         req.pluginKey = "vamp-example-plugins:zerocrossing";
         req.inputSampleRate = 16;
-        piper_vamp::LoadResponse resp = client.loadPlugin(req);
+        piper_vamp::LoadResponse resp = client.load(req);
         Vamp::Plugin *plugin = resp.plugin;
     
         if (!plugin->initialise(1, 4, 4)) {