changeset 9:15ac88b26704 outputid-string-in-featureset

Begin plugin output id / index mapping for use in feature sets
author Chris Cannam
date Fri, 16 Sep 2016 14:13:21 +0100
parents d6725f1c323c
children 60ad93fd6983
files capnproto/vamp.capnp
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/capnproto/vamp.capnp	Mon May 23 16:09:25 2016 +0100
+++ b/capnproto/vamp.capnp	Fri Sep 16 14:13:21 2016 +0100
@@ -96,7 +96,7 @@
 
 struct FeatureSet {
     struct FSPair {
-        output         @0  :Int32;
+        output         @0  :Text;
         features       @1  :List(Feature) = [];
     }
     featurePairs       @0  :List(FSPair);
@@ -144,14 +144,15 @@
     input              @1  :ProcessInput;
 }
 
+struct ProcessResponse {
+    pluginHandle       @0  :Int32;
+    features           @1  :FeatureSet;
+}
+
 struct FinishRequest {
     pluginHandle       @0  :Int32;
 }
 
-struct ProcessResponse {
-    features           @0  :FeatureSet;
-}
-
 struct VampRequest {
     request :union {
 	list           @0  :Void;