change offset arguments to various <T>Buffer::read/merge methods from framecnt_t...
[ardour.git] / libs / vamp-plugins / plugins.cpp
index 6a040778825323b5472414e8f7255bb6172d09bf..732da908fa10d60700db0fc30688fa955740238c 100644 (file)
@@ -7,7 +7,7 @@
 
     Centre for Digital Music, Queen Mary, University of London.
     Copyright 2006 Chris Cannam.
-  
+
     Permission is hereby granted, free of charge, to any person
     obtaining a copy of this software and associated documentation
     files (the "Software"), to deal in the Software without
@@ -46,6 +46,8 @@
 #include "PercussionOnsetDetector.h"
 #include "AmplitudeFollower.h"
 #include "OnsetDetect.h"
+#include "EBUr128.h"
+#include "TruePeak.h"
 #ifdef HAVE_AUBIO
 #include "Onset.h"
 #endif
@@ -55,6 +57,8 @@ static Vamp::PluginAdapter<SpectralCentroid> spectralCentroidAdapter;
 static Vamp::PluginAdapter<PercussionOnsetDetector> percussionOnsetAdapter;
 static Vamp::PluginAdapter<AmplitudeFollower> amplitudeAdapter;
 static Vamp::PluginAdapter<OnsetDetector> onsetDetectorAdapter;
+static Vamp::PluginAdapter<VampEBUr128> VampEBUr128Adapter;
+static Vamp::PluginAdapter<VampTruePeak> VampTruePeakAdapter;
 #ifdef HAVE_AUBIO
 static Vamp::PluginAdapter<Onset> onsetAdapter;
 #endif
@@ -70,10 +74,11 @@ const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int version,
     case  2: return percussionOnsetAdapter.getDescriptor();
     case  3: return amplitudeAdapter.getDescriptor();
     case  4: return onsetDetectorAdapter.getDescriptor();
+    case  5: return VampEBUr128Adapter.getDescriptor();
+    case  6: return VampTruePeakAdapter.getDescriptor();
 #ifdef HAVE_AUBIO
-    case  5: return onsetAdapter.getDescriptor();
+    case  7: return onsetAdapter.getDescriptor();
 #endif
     default: return 0;
     }
 }
-