Mercurial > hg > sonic-visualiser
comparison transform/FeatureExtractionPluginTransform.cpp @ 29:660a973c157a
* Handle plugins with weird block size requirements properly
| author | Chris Cannam | 
|---|---|
| date | Wed, 20 Sep 2006 15:47:16 +0000 | 
| parents | 61259228d029 | 
| children | 544ab25d2372 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 28:b5f55ea61bb8 | 29:660a973c157a | 
|---|---|
| 267 if (blockFrame - int(m_context.blockSize)/2 > endFrame) break; | 267 if (blockFrame - int(m_context.blockSize)/2 > endFrame) break; | 
| 268 } else { | 268 } else { | 
| 269 if (blockFrame >= endFrame) break; | 269 if (blockFrame >= endFrame) break; | 
| 270 } | 270 } | 
| 271 | 271 | 
| 272 // std::cerr << "FeatureExtractionPluginTransform::run: blockFrame " | 272 std::cerr << "FeatureExtractionPluginTransform::run: blockFrame " | 
| 273 // << blockFrame << std::endl; | 273 << blockFrame << std::endl; | 
| 274 | 274 | 
| 275 long completion = | 275 long completion = | 
| 276 (((blockFrame - startFrame) / m_context.stepSize) * 99) / | 276 (((blockFrame - startFrame) / m_context.stepSize) * 99) / | 
| 277 ( (endFrame - startFrame) / m_context.stepSize); | 277 ( (endFrame - startFrame) / m_context.stepSize); | 
| 278 | 278 | 
