Mercurial > hg > piper-cpp
comparison vamp-client/client.cpp @ 101:8c449824e08d
Parameterise process name
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 14 Oct 2016 16:22:32 +0100 |
parents | f55631599988 |
children | ff3fd8d1b2dc |
comparison
equal
deleted
inserted
replaced
100:bbb99f94e225 | 101:8c449824e08d |
---|---|
60 | 60 |
61 delete plugin; | 61 delete plugin; |
62 | 62 |
63 // Let's try a crazy AutoPlugin | 63 // Let's try a crazy AutoPlugin |
64 | 64 |
65 piper_vamp::client::AutoPlugin ap("vamp-example-plugins:zerocrossing", 16, 0); | 65 piper_vamp::client::AutoPlugin ap("../bin/piper-vamp-server", |
66 "vamp-example-plugins:zerocrossing", 16, 0); | |
66 if (!ap.isOK()) { | 67 if (!ap.isOK()) { |
67 cerr << "AutoPlugin creation failed" << endl; | 68 cerr << "AutoPlugin creation failed" << endl; |
68 } else { | 69 } else { |
69 if (!ap.initialise(1, 4, 4)) { | 70 if (!ap.initialise(1, 4, 4)) { |
70 cerr << "initialisation failed" << endl; | 71 cerr << "initialisation failed" << endl; |