comparison capnproto/vamp.capnp @ 64:85ec33975434

Support split OutputDescriptor, and plugins rather than pluginData in listResponse from SDK
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 23 Sep 2016 14:20:29 +0100
parents 18951a1f1001
children 6f160dee1192
comparison
equal deleted inserted replaced
63:72c43bc69616 64:85ec33975434
47 isQuantized @5 :Bool = false; 47 isQuantized @5 :Bool = false;
48 quantizeStep @6 :Float32 = 0.0; 48 quantizeStep @6 :Float32 = 0.0;
49 valueNames @7 :List(Text) = []; 49 valueNames @7 :List(Text) = [];
50 } 50 }
51 51
52 struct ConfiguredOutputDescriptor {
53 unit @0 :Text;
54 hasFixedBinCount @1 :Bool = false;
55 binCount @2 :Int32 = 0;
56 binNames @3 :List(Text) = [];
57 hasKnownExtents @4 :Bool = false;
58 minValue @5 :Float32 = 0.0;
59 maxValue @6 :Float32 = 0.0;
60 isQuantized @7 :Bool = false;
61 quantizeStep @8 :Float32 = 0.0;
62 sampleType @9 :SampleType;
63 sampleRate @10 :Float32 = 0.0;
64 hasDuration @11 :Bool = false;
65 }
66
52 struct OutputDescriptor { 67 struct OutputDescriptor {
53 basic @0 :Basic; 68 basic @0 :Basic;
54 unit @1 :Text; 69 configured @1 :ConfiguredOutputDescriptor;
55 hasFixedBinCount @2 :Bool = false;
56 binCount @3 :Int32 = 0;
57 binNames @4 :List(Text) = [];
58 hasKnownExtents @5 :Bool = false;
59 minValue @6 :Float32 = 0.0;
60 maxValue @7 :Float32 = 0.0;
61 isQuantized @8 :Bool = false;
62 quantizeStep @9 :Float32 = 0.0;
63 sampleType @10 :SampleType;
64 sampleRate @11 :Float32 = 0.0;
65 hasDuration @12 :Bool = false;
66 } 70 }
67 71
68 struct PluginStaticData { 72 struct PluginStaticData {
69 pluginKey @0 :Text; 73 pluginKey @0 :Text;
70 basic @1 :Basic; 74 basic @1 :Basic;