Mercurial > hg > svcore
diff transform/FeatureExtractionModelTransformer.cpp @ 780:cf466a5d411e
Remove no-longer-used code
author | Chris Cannam |
---|---|
date | Wed, 27 Mar 2013 16:53:31 +0000 |
parents | 15cd67fcbdad |
children | 05ba4bbd2b87 ed3779b2b4a8 |
line wrap: on
line diff
--- a/transform/FeatureExtractionModelTransformer.cpp Wed Mar 27 15:27:33 2013 +0000 +++ b/transform/FeatureExtractionModelTransformer.cpp Wed Mar 27 16:53:31 2013 +0000 @@ -673,17 +673,7 @@ frame = lrintf((m_fixedRateFeatureNo / m_descriptor->sampleRate) * inputRate); -/* - if (feature.hasTimestamp) { - //!!! warning: sampleRate may be non-integral - frame = Vamp::RealTime::realTime2Frame(feature.timestamp, -//!!! see comment above when setting up modelResolution and modelRate -// lrintf(m_descriptor->sampleRate)); - inputRate); - } else { - frame = m_output->getEndFrame(); - } -*/ + std::cerr << "Feature hasTimestamp = " << feature.hasTimestamp << ", timestamp = " << feature.timestamp << ", frame works out to " << frame << std::endl; }