comparison capnproto/vamp.capnp @ 9:197440dc8296

Add process request
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 16 May 2016 15:46:22 +0100
parents 6e8607ebad03
children c8451896c40e
comparison
equal deleted inserted replaced
8:d5fa758a85c4 9:197440dc8296
133 133
134 struct ConfigurationResponse { 134 struct ConfigurationResponse {
135 outputs @0 :List(OutputDescriptor); 135 outputs @0 :List(OutputDescriptor);
136 } 136 }
137 137
138 struct ProcessRequest {
139 pluginHandle @0 :Int64;
140 timestamp @1 :RealTime;
141 input @2 :List(List(Float32));
142 }
143
138 struct VampRequest { 144 struct VampRequest {
139 request :union { 145 request :union {
140 list @0 :Void; 146 list @0 :Void;
141 load @1 :LoadRequest; 147 load @1 :LoadRequest;
142 configure @2 :ConfigurationRequest; 148 configure @2 :ConfigurationRequest;
149 process @3 :ProcessRequest;
143 } 150 }
144 } 151 }
145 152
146 struct VampResponse { 153 struct VampResponse {
147 success @0 :Bool; 154 success @0 :Bool;
148 errorText @1 :Text = ""; 155 errorText @1 :Text = "";
149 response :union { 156 response :union {
150 list @2 :List(PluginStaticData); 157 list @2 :List(PluginStaticData);
151 load @3 :LoadResponse; 158 load @3 :LoadResponse;
152 configure @4 :ConfigurationResponse; 159 configure @4 :ConfigurationResponse;
160 process @5 :FeatureSet;
153 } 161 }
154 } 162 }
155 163