Adjust includes for subrepo aubio
[vamp-aubio-plugins.git] / plugins / Silence.h
index 35b3fad..2081ef5 100644 (file)
@@ -18,7 +18,7 @@
 #define _SILENCE_PLUGIN_H_
 
 #include <vamp-sdk/Plugin.h>
-#include <aubio/aubio.h>
+#include <aubio.h>
 
 class Silence : public Vamp::Plugin
 {
@@ -55,13 +55,13 @@ public:
 protected:
     fvec_t *m_ibuf;
     fvec_t *m_pbuf;
-    smpl_t **m_tmpptrs;
     float m_threshold;
     size_t m_stepSize;
     size_t m_blockSize;
-    size_t m_channelCount;
     bool m_prevSilent;
     bool m_first;
+    Vamp::RealTime m_lastChange;
+    Vamp::RealTime m_lastTimestamp;
 };