Mercurial > hg > piper-cpp
diff vamp-server/server.cpp @ 91:c897c9a8daf1
Implement reset()
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 13 Oct 2016 11:33:19 +0100 |
parents | 03ed2e0a6c8f |
children | 21f8af53eaf0 |
line wrap: on
line diff
--- a/vamp-server/server.cpp Thu Oct 13 10:17:59 2016 +0100 +++ b/vamp-server/server.cpp Thu Oct 13 11:33:19 2016 +0100 @@ -7,6 +7,8 @@ #include <sstream> #include <stdexcept> +#include <capnp/serialize.h> + #include <map> #include <set> @@ -175,6 +177,7 @@ response.loadResponse = loader->loadPlugin(request.loadRequest); if (response.loadResponse.plugin != nullptr) { mapper.addPlugin(response.loadResponse.plugin); + cerr << "loaded plugin, handle = " << mapper.pluginToHandle(response.loadResponse.plugin) << endl; response.success = true; } break;