Mercurial > hg > piper-cpp
comparison capnproto/vamp.capnp @ 24:533ca5ca3404
More on reading and writing json messages
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 23 May 2016 16:09:25 +0100 |
parents | d678cd00e593 |
children | f3f7561233d6 |
comparison
equal
deleted
inserted
replaced
23:d678cd00e593 | 24:533ca5ca3404 |
---|---|
112 channelCount @2 :Int32; | 112 channelCount @2 :Int32; |
113 stepSize @3 :Int32; | 113 stepSize @3 :Int32; |
114 blockSize @4 :Int32; | 114 blockSize @4 :Int32; |
115 } | 115 } |
116 | 116 |
117 struct ListResponse { | |
118 plugins @0 :List(PluginStaticData); | |
119 } | |
120 | |
117 struct LoadRequest { | 121 struct LoadRequest { |
118 pluginKey @0 :Text; | 122 pluginKey @0 :Text; |
119 inputSampleRate @1 :Float32; | 123 inputSampleRate @1 :Float32; |
120 adapterFlags @2 :List(AdapterFlag); | 124 adapterFlags @2 :List(AdapterFlag); |
121 } | 125 } |
160 | 164 |
161 struct VampResponse { | 165 struct VampResponse { |
162 success @0 :Bool; | 166 success @0 :Bool; |
163 errorText @1 :Text = ""; | 167 errorText @1 :Text = ""; |
164 response :union { | 168 response :union { |
165 list @2 :List(PluginStaticData); | 169 list @2 :ListResponse; |
166 load @3 :LoadResponse; | 170 load @3 :LoadResponse; |
167 configure @4 :ConfigurationResponse; | 171 configure @4 :ConfigurationResponse; |
168 process @5 :ProcessResponse; | 172 process @5 :ProcessResponse; |
169 finish @6 :ProcessResponse; | 173 finish @6 :ProcessResponse; |
170 } | 174 } |