Mercurial > hg > piper
changeset 131:7d251702566e
More on reading and writing json messages
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 23 May 2016 16:09:25 +0100 |
parents | 397de3c104df |
children | 5a09e2081515 83167b54c8a7 |
files | capnproto/vamp.capnp |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/capnproto/vamp.capnp Fri May 20 18:05:02 2016 +0100 +++ b/capnproto/vamp.capnp Mon May 23 16:09:25 2016 +0100 @@ -114,6 +114,10 @@ blockSize @4 :Int32; } +struct ListResponse { + plugins @0 :List(PluginStaticData); +} + struct LoadRequest { pluginKey @0 :Text; inputSampleRate @1 :Float32; @@ -162,7 +166,7 @@ success @0 :Bool; errorText @1 :Text = ""; response :union { - list @2 :List(PluginStaticData); + list @2 :ListResponse; load @3 :LoadResponse; configure @4 :ConfigurationResponse; process @5 :ProcessResponse;