diff plugin/FeatureExtractionPluginFactory.h @ 66:7afcfe666910

* Modify to use Vamp SDK for proper feature extraction plugins. Requires that the vamp-plugin-sdk directory tree be present below plugin/ (it's separate in Subversion).
author Chris Cannam
date Fri, 31 Mar 2006 15:56:35 +0000
parents d397ea0a79f5
children c30728d5625c
line wrap: on
line diff
--- a/plugin/FeatureExtractionPluginFactory.h	Thu Mar 30 15:00:22 2006 +0000
+++ b/plugin/FeatureExtractionPluginFactory.h	Fri Mar 31 15:56:35 2006 +0000
@@ -19,7 +19,7 @@
 #include <QString>
 #include <vector>
 
-class FeatureExtractionPlugin;
+namespace Vamp { class Plugin; }
 
 class FeatureExtractionPluginFactory
 {
@@ -28,12 +28,16 @@
     static FeatureExtractionPluginFactory *instanceFor(QString identifier);
     static std::vector<QString> getAllPluginIdentifiers();
 
-    std::vector<QString> getPluginIdentifiers();
+    virtual std::vector<QString> getPluginPath();
+
+    virtual std::vector<QString> getPluginIdentifiers();
+
+    virtual QString findPluginFile(QString soname, QString inDir = "");
 
     // We don't set blockSize or channels on this -- they're
     // negotiated and handled via initialize() on the plugin
-    virtual FeatureExtractionPlugin *instantiatePlugin(QString identifier,
-						       float inputSampleRate);
+    virtual Vamp::Plugin *instantiatePlugin(QString identifier,
+                                            float inputSampleRate);
 
 protected:
 };