Mercurial > hg > qm-vamp-plugins
changeset 40:77e394a5f3c9
...
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 10 Jan 2008 17:26:53 +0000 |
parents | 7f499758cb23 |
children | b9fb6dee85f7 |
files | plugins/SegmenterPlugin.cpp |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/SegmenterPlugin.cpp Thu Jan 10 16:41:43 2008 +0000 +++ b/plugins/SegmenterPlugin.cpp Thu Jan 10 17:26:53 2008 +0000 @@ -60,8 +60,6 @@ if (!segmenter) makeSegmenter(); - //!!! TODO: print out a helpful error message - if (stepSize != hopsize) { std::cerr << "SegmenterPlugin::initialise: supplied step size " << stepSize << " differs from required step size " << hopsize @@ -220,6 +218,7 @@ segmentation.unit = "segment-type"; segmentation.hasFixedBinCount = true; segmentation.binCount = 1; + segmentation.hasKnownExtents = true; segmentation.minValue = 1; segmentation.maxValue = nSegmentTypes; segmentation.isQuantized = true;