Mercurial > hg > piper-cpp
diff capnproto/VampnProto.h @ 23:d678cd00e593
Begin vampipe-convert
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 20 May 2016 18:05:02 +0100 |
parents | 071c55f52c7d |
children | 533ca5ca3404 |
line wrap: on
line diff
--- a/capnproto/VampnProto.h Fri May 20 17:07:04 2016 +0100 +++ b/capnproto/VampnProto.h Fri May 20 18:05:02 2016 +0100 @@ -709,7 +709,7 @@ static void buildVampResponse_Process(VampResponse::Builder &b, - const Vamp::HostExt::ProcessResponse &pr) { + const Vamp::HostExt::ProcessResponse &pr) { b.setSuccess(true); b.setErrorText(""); auto u = b.getResponse().initProcess(); @@ -717,9 +717,12 @@ } static void - buildVampRequest_Finish(VampRequest::Builder &b) { + buildVampRequest_Finish(VampRequest::Builder &b, + Vamp::Plugin *p, + PluginHandleMapper &mapper) { - b.getRequest().setFinish(); + auto u = b.getRequest().initFinish(); + u.setPluginHandle(mapper.pluginToHandle(p)); } static void