* Update to new Vamp process()
[vamp-aubio-plugins.git] / plugins / Onset.h
index 895cce6..c8c3475 100644 (file)
@@ -46,7 +46,8 @@ public:
 
     OutputList getOutputDescriptors() const;
 
-    FeatureSet process(float **inputBuffers, Vamp::RealTime timestamp);
+    FeatureSet process(const float *const *inputBuffers,
+                       Vamp::RealTime timestamp);
 
     FeatureSet getRemainingFeatures();
 
@@ -63,6 +64,8 @@ protected:
     size_t m_stepSize;
     size_t m_blockSize;
     size_t m_channelCount;
+    Vamp::RealTime m_delay;
+    Vamp::RealTime m_lastOnset;
 };