comparison transform/FeatureExtractionPluginTransform.cpp @ 50:209cf46e2413

* Various improvements to colour 3d plot layer, particularly for large and/or dense plots. Still a work in progress
author Chris Cannam
date Fri, 06 Oct 2006 16:53:25 +0000
parents 544ab25d2372
children 5f9fdca0c7d8
comparison
equal deleted inserted replaced
49:17787ea5f732 50:209cf46e2413
405 if (feature.hasTimestamp) { 405 if (feature.hasTimestamp) {
406 //!!! warning: sampleRate may be non-integral 406 //!!! warning: sampleRate may be non-integral
407 frame = Vamp::RealTime::realTime2Frame(feature.timestamp, 407 frame = Vamp::RealTime::realTime2Frame(feature.timestamp,
408 m_descriptor->sampleRate); 408 m_descriptor->sampleRate);
409 } else { 409 } else {
410 frame = m_output->getEndFrame() + 1; 410 frame = m_output->getEndFrame();
411 } 411 }
412 } 412 }
413 413
414 if (binCount == 0) { 414 if (binCount == 0) {
415 415