Mercurial > hg > piper-cpp
comparison vamp-client/client.cpp @ 119:5876f3e9c677
Fix server invocations from client code
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 27 Oct 2016 12:04:44 +0100 |
parents | ff3fd8d1b2dc |
children | 183fe1f03980 |
comparison
equal
deleted
inserted
replaced
118:ff3fd8d1b2dc | 119:5876f3e9c677 |
---|---|
42 using std::cerr; | 42 using std::cerr; |
43 using std::endl; | 43 using std::endl; |
44 | 44 |
45 int main(int, char **) | 45 int main(int, char **) |
46 { | 46 { |
47 piper_vamp::client::ProcessQtTransport transport("../bin/piper-vamp-server"); | 47 piper_vamp::client::ProcessQtTransport transport("../bin/piper-vamp-server", |
48 "capnp"); | |
48 piper_vamp::client::CapnpRRClient client(&transport); | 49 piper_vamp::client::CapnpRRClient client(&transport); |
49 | 50 |
50 piper_vamp::ListResponse lr = client.listPluginData(); | 51 piper_vamp::ListResponse lr = client.listPluginData(); |
51 cerr << "Plugins available:" << endl; | 52 cerr << "Plugins available:" << endl; |
52 int i = 1; | 53 int i = 1; |