# HG changeset patch # User Chris Cannam # Date 1464016165 -3600 # Node ID d6725f1c323c54042150364b9359a0a78c217368 # Parent b14b42b3a7a2ed9fe363930eed20f41dae92e72d More on reading and writing json messages diff -r b14b42b3a7a2 -r d6725f1c323c 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;