OSC: Catch new strips, gone strips and redo banks and observers. Add more select...
[ardour.git] / libs / vamp-plugins / TruePeak.h
index 792788ef6b7f3f01c57decc86d2728e4fc2021b3..ab832511e759ee4c3adbe65a7cb8391c953db72a 100644 (file)
@@ -123,13 +123,14 @@ public:
        void  read (float &m, float &p);
        void  reset (void);
 
-       void init (float fsamp);
+       bool init (float fsamp);
 
 private:
 
        float      _m;
        float      _p;
        bool       _res;
+       bool       _res_peak;
        float     *_buf;
        Resampler  _src;
 };
@@ -169,6 +170,8 @@ protected:
 
 private:
        TruePeakMeter::TruePeakdsp _meter;
+       Feature _above_m1;
+       unsigned int m_rate;
 };
 
 #endif