diff transform/ModelTransformerFactory.cpp @ 848:539740f231fa tonioni_multi_transform

Toward running multiple transforms (from same plugin + params) at once
author Chris Cannam
date Fri, 29 Nov 2013 15:43:50 +0000
parents 2d53205f70cd
children 418cd2064769
line wrap: on
line diff
--- a/transform/ModelTransformerFactory.cpp	Tue Nov 26 14:37:01 2013 +0000
+++ b/transform/ModelTransformerFactory.cpp	Fri Nov 29 15:43:50 2013 +0000
@@ -173,7 +173,7 @@
     if (FeatureExtractionPluginFactory::instanceFor(id)) {
 
         transformer =
-        	new FeatureExtractionModelTransformer(input, transform, m_preferredOutputModel);
+            new FeatureExtractionModelTransformer(input, transform);
 
     } else if (RealTimePluginFactory::instanceFor(id)) {
 
@@ -193,13 +193,10 @@
 Model *
 ModelTransformerFactory::transform(const Transform &transform,
                                    const ModelTransformer::Input &input,
-                                   QString &message,
-								   /* outputmodel default value = FeatureExtractionModelTransformer::NoteOutputModel */
-								   FeatureExtractionModelTransformer::PreferredOutputModel outputmodel) 
+                                   QString &message) 
 {
     SVDEBUG << "ModelTransformerFactory::transform: Constructing transformer with input model " << input.getModel() << endl;
 
-	m_preferredOutputModel = outputmodel;
     ModelTransformer *t = createTransformer(transform, input);
     if (!t) return 0;