diff transform/TransformFactory.h @ 79:9e027aa5b5c3

* Avoid instantiating a plugin twice when configuring it (the min/max channel count call was instantiating the plugin again) * Add static library credits to the About box for static builds
author Chris Cannam
date Mon, 24 Apr 2006 15:52:20 +0000
parents 4d59dc469b0f
children 82f529a08cf3
line wrap: on
line diff
--- a/transform/TransformFactory.h	Thu Apr 13 18:29:10 2006 +0000
+++ b/transform/TransformFactory.h	Mon Apr 24 15:52:20 2006 +0000
@@ -20,6 +20,8 @@
 
 #include <map>
 
+namespace Vamp { class PluginBase; }
+
 class TransformFactory : public QObject
 {
     Q_OBJECT
@@ -143,6 +145,9 @@
     void populateFeatureExtractionPlugins(TransformDescriptionMap &);
     void populateRealTimePlugins(TransformDescriptionMap &);
 
+    bool getChannelRange(TransformName name,
+                         Vamp::PluginBase *plugin, int &min, int &max);
+
     static TransformFactory *m_instance;
 };