comparison framework/TransformUserConfigurator.h @ 644:6fd0ebfd2bbe

Merge from branch fix-static-analysis
author Chris Cannam
date Wed, 09 Jan 2019 15:25:09 +0000
parents 26a0cb8335e3
children 7540733f5480
comparison
equal deleted inserted replaced
643:713b9a6b284a 644:6fd0ebfd2bbe
10 published by the Free Software Foundation; either version 2 of the 10 published by the Free Software Foundation; either version 2 of the
11 License, or (at your option) any later version. See the file 11 License, or (at your option) any later version. See the file
12 COPYING included with this distribution for more information. 12 COPYING included with this distribution for more information.
13 */ 13 */
14 14
15 #ifndef _TRANSFORM_USER_CONFIGURATOR_H_ 15 #ifndef SV_TRANSFORM_USER_CONFIGURATOR_H
16 #define _TRANSFORM_USER_CONFIGURATOR_H_ 16 #define SV_TRANSFORM_USER_CONFIGURATOR_H
17 17
18 #include "transform/ModelTransformerFactory.h" 18 #include "transform/ModelTransformerFactory.h"
19 19
20 class TransformUserConfigurator : public ModelTransformerFactory::UserConfigurator 20 class TransformUserConfigurator : public ModelTransformerFactory::UserConfigurator
21 { 21 {
22 public: 22 public:
23 // This is of course absolutely gross 23 // This is of course absolutely gross
24 24
25 virtual bool configure(ModelTransformer::Input &input, 25 bool configure(ModelTransformer::Input &input,
26 Transform &transform, 26 Transform &transform,
27 Vamp::PluginBase *plugin, 27 Vamp::PluginBase *plugin,
28 Model *&inputModel, 28 Model *&inputModel,
29 AudioPlaySource *source, 29 AudioPlaySource *source,
30 sv_frame_t startFrame, 30 sv_frame_t startFrame,
31 sv_frame_t duration, 31 sv_frame_t duration,
32 const QMap<QString, Model *> &modelMap, 32 const QMap<QString, Model *> &modelMap,
33 QStringList candidateModelNames, 33 QStringList candidateModelNames,
34 QString defaultModelName); 34 QString defaultModelName) override;
35 35
36 static void setParentWidget(QWidget *); 36 static void setParentWidget(QWidget *);
37 37
38 private: 38 private:
39 bool getChannelRange(TransformId identifier, 39 bool getChannelRange(TransformId identifier,