#define _SILENCE_PLUGIN_H_
#include <vamp-sdk/Plugin.h>
-#include <aubio/aubio.h>
+#include <aubio.h>
class Silence : public Vamp::Plugin
{
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;
};