Mercurial > hg > piper-cpp
diff vamp-server/convert.cpp @ 127:5b113c87b6e6
Add and implement the "from" param for list request. The simple-server implementation is not yet correct.
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Wed, 02 Nov 2016 14:27:42 +0000 |
parents | 6b11ca6bb0a3 |
children | b37530377d6e |
line wrap: on
line diff
--- a/vamp-server/convert.cpp Fri Oct 28 14:31:58 2016 +0100 +++ b/vamp-server/convert.cpp Wed Nov 02 14:27:42 2016 +0000 @@ -249,7 +249,7 @@ switch (rr.type) { case RRType::List: - j = VampJson::fromRpcRequest_List(id); + j = VampJson::fromRpcRequest_List(rr.listRequest, id); break; case RRType::Load: j = VampJson::fromRpcRequest_Load(rr.loadRequest, id); @@ -383,7 +383,7 @@ switch (rr.type) { case RRType::List: - VampnProto::readRpcRequest_List(reader); // type check only + VampnProto::readRpcRequest_List(rr.listRequest, reader); break; case RRType::Load: VampnProto::readRpcRequest_Load(rr.loadRequest, reader); @@ -416,7 +416,7 @@ switch (rr.type) { case RRType::List: - VampnProto::buildRpcRequest_List(builder); + VampnProto::buildRpcRequest_List(builder, rr.listRequest); break; case RRType::Load: VampnProto::buildRpcRequest_Load(builder, rr.loadRequest);