New editor API to retrieve the Stripable with via presentation info order.
[ardour.git] / libs / ardour / ardour / mtdm.h
index b46e53c0a2380e227e5f365c3713d8ade1d0164d..bb30ac5d0aa7a964acd7d3678a0519c66d577424 100644 (file)
@@ -21,7 +21,9 @@
 
 #include <stddef.h>
 
-class MTDM
+#include "ardour/libardour_visibility.h"
+
+class LIBARDOUR_API MTDM
 {
 public:
 
@@ -32,6 +34,7 @@ public:
     int    inv (void) { return _inv; }
     double del (void) { return _del; }
     double err (void) { return _err; }
+    float get_peak () { const float rv = _peak; _peak = 0; return rv; }
 
 private:
     class Freq {
@@ -52,6 +55,7 @@ private:
     int     _cnt;
     int     _inv;
     Freq    _freq [13];
+    float   _peak;
 };
 
 #endif /* __libardour_mtdm_h__ */