diff capnproto/vamp.capnp @ 24:533ca5ca3404

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 d678cd00e593
children f3f7561233d6
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;