Mercurial > hg > svcore
changeset 780:cf466a5d411e
Remove no-longer-used code
author | Chris Cannam |
---|---|
date | Wed, 27 Mar 2013 16:53:31 +0000 |
parents | 15cd67fcbdad |
children | f9f5e18a366e 459235dccff6 |
files | transform/FeatureExtractionModelTransformer.cpp |
diffstat | 1 files changed, 1 insertions(+), 11 deletions(-) [+] |
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; }