comparison capnproto/vamp.capnp @ 15:d907576aa299

More requests/responses
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 18 May 2016 13:54:33 +0100
parents c35d0909a74e
children d678cd00e593
comparison
equal deleted inserted replaced
14:c35d0909a74e 15:d907576aa299
138 struct ProcessRequest { 138 struct ProcessRequest {
139 pluginHandle @0 :Int32; 139 pluginHandle @0 :Int32;
140 input @1 :ProcessInput; 140 input @1 :ProcessInput;
141 } 141 }
142 142
143 struct ProcessResponse {
144 features @0 :FeatureSet;
145 }
146
143 struct VampRequest { 147 struct VampRequest {
144 request :union { 148 request :union {
145 list @0 :Void; 149 list @0 :Void;
146 load @1 :LoadRequest; 150 load @1 :LoadRequest;
147 configure @2 :ConfigurationRequest; 151 configure @2 :ConfigurationRequest;
155 errorText @1 :Text = ""; 159 errorText @1 :Text = "";
156 response :union { 160 response :union {
157 list @2 :List(PluginStaticData); 161 list @2 :List(PluginStaticData);
158 load @3 :LoadResponse; 162 load @3 :LoadResponse;
159 configure @4 :ConfigurationResponse; 163 configure @4 :ConfigurationResponse;
160 process @5 :FeatureSet; 164 process @5 :ProcessResponse;
161 finish @6 :FeatureSet; 165 finish @6 :ProcessResponse;
162 } 166 }
163 } 167 }
164 168