changeset 214:15057cf59da5

* Appalling fix for failure to pick up correct user-specified input model
author Chris Cannam
date Mon, 25 Oct 2010 21:15:24 +0200
parents eed79c69be61
children b96d90975f7c
files framework/TransformUserConfigurator.cpp framework/TransformUserConfigurator.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/framework/TransformUserConfigurator.cpp	Mon Oct 25 11:11:33 2010 +0200
+++ b/framework/TransformUserConfigurator.cpp	Mon Oct 25 21:15:24 2010 +0200
@@ -52,7 +52,7 @@
 TransformUserConfigurator::configure(ModelTransformer::Input &input,
 				     Transform &transform,
 				     Vamp::PluginBase *plugin,
-				     Model *inputModel,
+                                     Model *&inputModel,
 				     AudioPlaySource *source,
 				     size_t startFrame,
 				     size_t duration,
--- a/framework/TransformUserConfigurator.h	Mon Oct 25 11:11:33 2010 +0200
+++ b/framework/TransformUserConfigurator.h	Mon Oct 25 21:15:24 2010 +0200
@@ -25,7 +25,7 @@
     virtual bool configure(ModelTransformer::Input &input,
                            Transform &transform,
                            Vamp::PluginBase *plugin,
-                           Model *inputModel,
+                           Model *&inputModel,
 			   AudioPlaySource *source,
 			   size_t startFrame,
 			   size_t duration,