Mercurial > hg > svcore
comparison transform/ModelTransformerFactory.cpp @ 859:13803edd513d tonioni
Use a settings setting for flexi/non-flexi determination -- this may not be the right thing in the long run but it's simpler and easier than passing through a random value that doesn't actually come from anywhere
author | Chris Cannam |
---|---|
date | Wed, 04 Dec 2013 19:30:02 +0000 |
parents | dba8a02b0413 |
children | b109b88bfa85 |
comparison
equal
deleted
inserted
replaced
858:6b77fcc39723 | 859:13803edd513d |
---|---|
173 QString id = transforms[0].getPluginIdentifier(); | 173 QString id = transforms[0].getPluginIdentifier(); |
174 | 174 |
175 if (FeatureExtractionPluginFactory::instanceFor(id)) { | 175 if (FeatureExtractionPluginFactory::instanceFor(id)) { |
176 | 176 |
177 transformer = | 177 transformer = |
178 new FeatureExtractionModelTransformer(input, transforms, FeatureExtractionModelTransformer::FlexiNoteOutputModel); //!!! gross | 178 new FeatureExtractionModelTransformer(input, transforms); |
179 | 179 |
180 } else if (RealTimePluginFactory::instanceFor(id)) { | 180 } else if (RealTimePluginFactory::instanceFor(id)) { |
181 | 181 |
182 transformer = | 182 transformer = |
183 new RealTimeEffectModelTransformer(input, transforms[0]); | 183 new RealTimeEffectModelTransformer(input, transforms[0]); |