Mercurial > hg > vamp-plugin-sdk
diff examples/ZeroCrossing.cpp @ 9:44113b1e296b
* Add valueNames to parameter descriptor
* Change valueCount and valueNames to binCount and binNames in output
descriptor, to avoid confusion with other uses of value
* Some explanatory notes about FFT alignment
author | cannam |
---|---|
date | Wed, 05 Apr 2006 16:50:07 +0000 |
parents | c4662bbef275 |
children | 3bbe244611bb |
line wrap: on
line diff
--- a/examples/ZeroCrossing.cpp Mon Apr 03 14:19:02 2006 +0000 +++ b/examples/ZeroCrossing.cpp Wed Apr 05 16:50:07 2006 +0000 @@ -109,8 +109,8 @@ zc.name = "counts"; zc.unit = "crossings"; zc.description = "Zero Crossing Counts"; - zc.hasFixedValueCount = true; - zc.valueCount = 1; + zc.hasFixedBinCount = true; + zc.binCount = 1; zc.hasKnownExtents = false; zc.isQuantized = true; zc.quantizeStep = 1.0; @@ -120,8 +120,8 @@ zc.name = "zerocrossings"; zc.unit = ""; zc.description = "Zero Crossings"; - zc.hasFixedValueCount = true; - zc.valueCount = 0; + zc.hasFixedBinCount = true; + zc.binCount = 0; zc.sampleType = OutputDescriptor::VariableSampleRate; zc.sampleRate = m_inputSampleRate; list.push_back(zc);