changeset 2:3a7766f8b6a2

Add process request
author Chris Cannam
date Mon, 16 May 2016 15:46:22 +0100
parents 03e22ea6d47b
children b1ac78b99aa4
files capnproto/vamp.capnp
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/capnproto/vamp.capnp	Fri May 13 16:28:26 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;
     }
 }