Mercurial > hg > vamp-test-plugin
changeset 1:572e2a3f3f11
A couple of outputs
author | Chris Cannam |
---|---|
date | Thu, 21 Mar 2013 21:30:22 +0000 |
parents | 21d94fc628c8 |
children | 3d07cfc3ee70 |
files | VampTestPlugin.cpp |
diffstat | 1 files changed, 44 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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; }