# HG changeset patch # User Chris Cannam # Date 1464016165 -3600 # Node ID 7d251702566e4c08da0905e7997df9cd89fe2c66 # Parent 397de3c104dfc55a23e489596597ce5eba253125 More on reading and writing json messages diff -r 397de3c104df -r 7d251702566e capnproto/vamp.capnp --- 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;