changeset 1226:91ff08313375 piper

Fixes to choice of plugin factory
author Chris Cannam
date Fri, 21 Oct 2016 14:51:22 +0100
parents ba16388b937d
children 5d886b7b4029
files transform/FeatureExtractionModelTransformer.cpp
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/transform/FeatureExtractionModelTransformer.cpp	Fri Oct 21 11:49:27 2016 +0100
+++ b/transform/FeatureExtractionModelTransformer.cpp	Fri Oct 21 14:51:22 2016 +0100
@@ -16,8 +16,6 @@
 #include "FeatureExtractionModelTransformer.h"
 
 #include "plugin/FeatureExtractionPluginFactory.h"
-#include "plugin/NativeVampPluginFactory.h"
-#include "plugin/PiperVampPluginFactory.h"
 
 #include "plugin/PluginXml.h"
 #include <vamp-hostsdk/Plugin.h>
@@ -95,7 +93,8 @@
 
     QString pluginId = primaryTransform.getPluginIdentifier();
 
-    FeatureExtractionPluginFactory *factory = PiperVampPluginFactory::instance();
+    FeatureExtractionPluginFactory *factory =
+        FeatureExtractionPluginFactory::instance();
 
     if (!factory) {
         m_message = tr("No factory available for feature extraction plugin id \"%1\" (unknown plugin type, or internal error?)").arg(pluginId);