comparison transform/FeatureExtractionPluginTransform.cpp @ 72:9bbc57e8bf43

* fix to plugin output resolution
author Chris Cannam
date Thu, 06 Apr 2006 15:12:53 +0000
parents d26c85099215
children e9b8b51f6326
comparison
equal deleted inserted replaced
71:e32c6a6cb40f 72:9bbc57e8bf43
123 modelResolution = size_t(modelRate / m_descriptor->sampleRate + 0.001); 123 modelResolution = size_t(modelRate / m_descriptor->sampleRate + 0.001);
124 } 124 }
125 break; 125 break;
126 126
127 case Vamp::Plugin::OutputDescriptor::OneSamplePerStep: 127 case Vamp::Plugin::OutputDescriptor::OneSamplePerStep:
128 modelResolution = m_plugin->getPreferredStepSize(); 128 modelResolution = m_stepSize;
129 break; 129 break;
130 130
131 case Vamp::Plugin::OutputDescriptor::FixedSampleRate: 131 case Vamp::Plugin::OutputDescriptor::FixedSampleRate:
132 modelRate = m_descriptor->sampleRate; 132 modelRate = m_descriptor->sampleRate;
133 break; 133 break;