comparison framework/TransformUserConfigurator.cpp @ 371:dfcc5b355f33

Merge from branch warnfix_no_size_t
author Chris Cannam
date Wed, 18 Jun 2014 13:51:38 +0100
parents 0876ea394902
children ad168a6510f0
comparison
equal deleted inserted replaced
355:e7a3fa8f4eec 371:dfcc5b355f33
52 TransformUserConfigurator::configure(ModelTransformer::Input &input, 52 TransformUserConfigurator::configure(ModelTransformer::Input &input,
53 Transform &transform, 53 Transform &transform,
54 Vamp::PluginBase *plugin, 54 Vamp::PluginBase *plugin,
55 Model *&inputModel, 55 Model *&inputModel,
56 AudioPlaySource *source, 56 AudioPlaySource *source,
57 size_t startFrame, 57 int startFrame,
58 size_t duration, 58 int duration,
59 const QMap<QString, Model *> &modelMap, 59 const QMap<QString, Model *> &modelMap,
60 QStringList candidateModelNames, 60 QStringList candidateModelNames,
61 QString defaultModelName) 61 QString defaultModelName)
62 { 62 {
63 bool ok = false; 63 bool ok = false;
199 transform.setDuration(RealTime::frame2RealTime 199 transform.setDuration(RealTime::frame2RealTime
200 (duration, inputModel->getSampleRate())); 200 (duration, inputModel->getSampleRate()));
201 } 201 }
202 } 202 }
203 203
204 size_t stepSize = 0, blockSize = 0; 204 int stepSize = 0, blockSize = 0;
205 WindowType windowType = HanningWindow; 205 WindowType windowType = HanningWindow;
206 206
207 dialog->getProcessingParameters(stepSize, 207 dialog->getProcessingParameters(stepSize,
208 blockSize, 208 blockSize,
209 windowType); 209 windowType);