diff plugin/FeatureExtractionPluginFactory.cpp @ 239:71f869dac40b

* Further fixes for Vamp API change, and update to support API versioning * Add plugin, output and parameter descriptions to GUI * Avoid squished panner in heads-up-display on pane when time-value or note layer is on top
author Chris Cannam
date Tue, 27 Feb 2007 12:51:38 +0000
parents 76635085e2d9
children 2b40f83e7627
line wrap: on
line diff
--- a/plugin/FeatureExtractionPluginFactory.cpp	Mon Feb 26 20:08:51 2007 +0000
+++ b/plugin/FeatureExtractionPluginFactory.cpp	Tue Feb 27 12:51:38 2007 +0000
@@ -121,7 +121,7 @@
             const VampPluginDescriptor *descriptor = 0;
             int index = 0;
 
-            while ((descriptor = fn(index))) {
+            while ((descriptor = fn(VAMP_API_VERSION, index))) {
                 QString id = PluginIdentifier::createIdentifier
                     ("vamp", soname, descriptor->identifier);
                 rv.push_back(id);
@@ -232,7 +232,7 @@
         goto done;
     }
 
-    while ((descriptor = fn(index))) {
+    while ((descriptor = fn(VAMP_API_VERSION, index))) {
         if (label == descriptor->identifier) break;
         ++index;
     }