Merge 0.4.0
[vamp-aubio-plugins.git] / libmain.cpp
index 787ef0c..eeff3ed 100644 (file)
@@ -32,7 +32,7 @@ static Vamp::PluginAdapter<Silence> silenceAdapter;
 const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int vampApiVersion,
                                                     unsigned int index)
 {
-    if (vampApiVersion < 1) return 0;
+    if (vampApiVersion < 2) return 0;
 
     switch (index) {
     case  0: return onsetAdapter.getDescriptor();