Mercurial > hg > piper-cpp
diff vamp-client/client.cpp @ 94:a660dca988f8
More renaming
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 13 Oct 2016 14:10:55 +0100 |
parents | fbce91785d35 |
children | b6ac26b72b59 |
line wrap: on
line diff
--- a/vamp-client/client.cpp Thu Oct 13 12:07:41 2016 +0100 +++ b/vamp-client/client.cpp Thu Oct 13 14:10:55 2016 +0100 @@ -1,6 +1,6 @@ -#include "PiperQProcessTransport.h" -#include "PiperCapnpClient.h" +#include "ProcessQtTransport.h" +#include "CapnpClient.h" #include <stdexcept> @@ -9,9 +9,9 @@ int main(int, char **) { - piper::PiperQProcessTransport transport("../bin/piper-vamp-server"); - piper::PiperCapnpClient client(&transport); - + piper::vampclient::ProcessQtTransport transport("../bin/piper-vamp-server"); + piper::vampclient::CapnpClient client(&transport); + Vamp::Plugin *plugin = client.load("vamp-example-plugins:zerocrossing", 16, 0); if (!plugin->initialise(1, 4, 4)) { cerr << "initialisation failed" << endl;