Mercurial > hg > piper
changeset 8:d6725f1c323c
More on reading and writing json messages
author | Chris Cannam |
---|---|
date | Mon, 23 May 2016 16:09:25 +0100 |
parents | b14b42b3a7a2 |
children | 15ac88b26704 bae6b03e1271 |
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;