# HG changeset patch # User Chris Cannam # Date 1474636829 -3600 # Node ID d3471fff41ce27347b7fb50f7c78fdedd5a54276 # Parent 233327e4956f96506310670b48fcb87f4d2354f6 Support split OutputDescriptor, and plugins rather than pluginData in listResponse from SDK diff -r 233327e4956f -r d3471fff41ce capnproto/vamp.capnp --- a/capnproto/vamp.capnp Wed Sep 21 12:59:35 2016 +0100 +++ b/capnproto/vamp.capnp Fri Sep 23 14:20:29 2016 +0100 @@ -49,20 +49,24 @@ valueNames @7 :List(Text) = []; } +struct ConfiguredOutputDescriptor { + unit @0 :Text; + hasFixedBinCount @1 :Bool = false; + binCount @2 :Int32 = 0; + binNames @3 :List(Text) = []; + hasKnownExtents @4 :Bool = false; + minValue @5 :Float32 = 0.0; + maxValue @6 :Float32 = 0.0; + isQuantized @7 :Bool = false; + quantizeStep @8 :Float32 = 0.0; + sampleType @9 :SampleType; + sampleRate @10 :Float32 = 0.0; + hasDuration @11 :Bool = false; +} + struct OutputDescriptor { basic @0 :Basic; - unit @1 :Text; - hasFixedBinCount @2 :Bool = false; - binCount @3 :Int32 = 0; - binNames @4 :List(Text) = []; - hasKnownExtents @5 :Bool = false; - minValue @6 :Float32 = 0.0; - maxValue @7 :Float32 = 0.0; - isQuantized @8 :Bool = false; - quantizeStep @9 :Float32 = 0.0; - sampleType @10 :SampleType; - sampleRate @11 :Float32 = 0.0; - hasDuration @12 :Bool = false; + configured @1 :ConfiguredOutputDescriptor; } struct PluginStaticData {