comparison vamp-capnp/VampnProto.h @ 171:8d2b12442903

Merge branch 'master' of https://github.com/piper-audio/piper-cpp
author Lucas Thompson <dev@lucas.im>
date Tue, 31 Jan 2017 15:07:39 +0000
parents 590b1a1fd955
children 3eb00e5c76c4
comparison
equal deleted inserted replaced
168:718dd5404855 171:8d2b12442903
910 910
911 static RRType 911 static RRType
912 getRequestResponseType(const piper::RpcResponse::Reader &r) { 912 getRequestResponseType(const piper::RpcResponse::Reader &r) {
913 switch (r.getResponse().which()) { 913 switch (r.getResponse().which()) {
914 case piper::RpcResponse::Response::Which::ERROR: 914 case piper::RpcResponse::Response::Which::ERROR:
915 return RRType::NotValid; //!!! or error type? test this 915 return RRType::NotValid;
916 case piper::RpcResponse::Response::Which::LIST: 916 case piper::RpcResponse::Response::Which::LIST:
917 return RRType::List; 917 return RRType::List;
918 case piper::RpcResponse::Response::Which::LOAD: 918 case piper::RpcResponse::Response::Which::LOAD:
919 return RRType::Load; 919 return RRType::Load;
920 case piper::RpcResponse::Response::Which::CONFIGURE: 920 case piper::RpcResponse::Response::Which::CONFIGURE: