# HG changeset patch # User Chris Cannam # Date 1363901422 0 # Node ID 572e2a3f3f11f169a1616862878bd1faed71cc04 # Parent 21d94fc628c87cd5813b8a605fcc4ea346d3bbae A couple of outputs diff -r 21d94fc628c8 -r 572e2a3f3f11 VampTestPlugin.cpp --- a/VampTestPlugin.cpp Thu Mar 21 19:22:16 2013 +0000 +++ b/VampTestPlugin.cpp Thu Mar 21 21:30:22 2013 +0000 @@ -123,9 +123,24 @@ OutputList list; OutputDescriptor d; - d.identifier = "output"; - d.name = "My Output"; - d.description = ""; + + //!!! review these: extents, units etc + + d.identifier = "instants"; + d.name = "Instants"; + d.description = ""; //!!! + d.unit = ""; + d.hasFixedBinCount = true; + d.binCount = 0; + d.hasKnownExtents = false; + d.isQuantized = false; + d.sampleType = OutputDescriptor::VariableSampleRate; + d.hasDuration = false; + list.push_back(d); + + d.identifier = "curve-oss"; + d.name = "Curve: OneSamplePerStep"; + d.description = ""; //!!! d.unit = ""; d.hasFixedBinCount = true; d.binCount = 1; @@ -135,6 +150,32 @@ d.hasDuration = false; list.push_back(d); + d.identifier = "curve-fsr"; + d.name = "Curve: FixedSampleRate"; + d.description = ""; //!!! + d.unit = ""; + d.hasFixedBinCount = true; + d.binCount = 1; + d.hasKnownExtents = false; + d.isQuantized = false; + d.sampleType = OutputDescriptor::FixedSampleRate; + d.sampleRate = 2; //!!! + d.hasDuration = false; + list.push_back(d); + + d.identifier = "curve-vsr"; + d.name = "Curve: VariableSampleRate"; + d.description = ""; //!!! + d.unit = ""; + d.hasFixedBinCount = true; + d.binCount = 1; + d.hasKnownExtents = false; + d.isQuantized = false; + d.sampleType = OutputDescriptor::VariableSampleRate; + d.sampleRate = 0; //!!! + d.hasDuration = false; + list.push_back(d); + return list; }