changeset 9:197440dc8296

Add process request
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 16 May 2016 15:46:22 +0100
parents d5fa758a85c4
children c8451896c40e
files capnproto/vamp.capnp
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/capnproto/vamp.capnp	Mon May 16 11:54:12 2016 +0100
+++ b/capnproto/vamp.capnp	Mon May 16 15:46:22 2016 +0100
@@ -135,11 +135,18 @@
     outputs            @0  :List(OutputDescriptor);
 }
 
+struct ProcessRequest {
+    pluginHandle       @0  :Int64;
+    timestamp          @1  :RealTime;
+    input              @2  :List(List(Float32));
+}
+
 struct VampRequest {
     request :union {
 	list           @0  :Void;
 	load           @1  :LoadRequest;
 	configure      @2  :ConfigurationRequest;
+	process        @3  :ProcessRequest;
     }
 }
 
@@ -150,6 +157,7 @@
 	list           @2  :List(PluginStaticData);
 	load           @3  :LoadResponse;
 	configure      @4  :ConfigurationResponse;
+	process        @5  :FeatureSet;
     }
 }