Mercurial > hg > sonic-visualiser
comparison transform/FeatureExtractionPluginTransform.cpp @ 145:dfaf4f9330b5
* minor usability fixes
author | Chris Cannam |
---|---|
date | Fri, 18 May 2007 16:47:38 +0000 |
parents | 006c90387f40 |
children | d27f13651e67 |
comparison
equal
deleted
inserted
replaced
144:56c00f977cac | 145:dfaf4f9330b5 |
---|---|
490 int binCount = 1; | 490 int binCount = 1; |
491 if (m_descriptor->hasFixedBinCount) { | 491 if (m_descriptor->hasFixedBinCount) { |
492 binCount = m_descriptor->binCount; | 492 binCount = m_descriptor->binCount; |
493 } | 493 } |
494 | 494 |
495 std::cerr << "FeatureExtractionPluginTransform::setCompletion(" | 495 // std::cerr << "FeatureExtractionPluginTransform::setCompletion(" |
496 << completion << ")" << std::endl; | 496 // << completion << ")" << std::endl; |
497 | 497 |
498 if (binCount == 0) { | 498 if (binCount == 0) { |
499 | 499 |
500 SparseOneDimensionalModel *model = getOutput<SparseOneDimensionalModel>(); | 500 SparseOneDimensionalModel *model = getOutput<SparseOneDimensionalModel>(); |
501 if (!model) return; | 501 if (!model) return; |