diff vamp-client/client.cpp @ 149:70bf40743d6a

Update api usage in test client
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 19 Jan 2017 14:05:21 +0000
parents 183fe1f03980
children
line wrap: on
line diff
--- a/vamp-client/client.cpp	Thu Jan 19 10:49:07 2017 +0000
+++ b/vamp-client/client.cpp	Thu Jan 19 14:05:21 2017 +0000
@@ -44,9 +44,10 @@
 
 int main(int, char **)
 {
-    piper_vamp::client::ProcessQtTransport transport("../bin/piper-vamp-simple-server",
-                                                     "capnp");
-    piper_vamp::client::CapnpRRClient client(&transport);
+    piper_vamp::client::ProcessQtTransport transport
+        ("../bin/piper-vamp-simple-server", "capnp", nullptr);
+
+    piper_vamp::client::CapnpRRClient client(&transport, nullptr);
 
     piper_vamp::ListResponse lr = client.listPluginData({});
     cerr << "Plugins available:" << endl;
@@ -97,8 +98,10 @@
 
     // Let's try a crazy AutoPlugin
 
-    piper_vamp::client::AutoPlugin ap("../bin/piper-vamp-simple-server",
-                                      "vamp-example-plugins:zerocrossing", 16, 0);
+    piper_vamp::client::AutoPlugin ap
+        ("../bin/piper-vamp-simple-server",
+         "vamp-example-plugins:zerocrossing", 16, 0, nullptr);
+    
     if (!ap.isOK()) {
         cerr << "AutoPlugin creation failed" << endl;
     } else {