# HG changeset patch # User Chris Cannam # Date 1364403211 0 # Node ID cf466a5d411ed912b6c495d37eccf1ec571a3396 # Parent 15cd67fcbdada9734f147bb1024bd914e0dfdb26 Remove no-longer-used code diff -r 15cd67fcbdad -r cf466a5d411e transform/FeatureExtractionModelTransformer.cpp --- 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; }