diff options
author | Robin Gareus <robin@gareus.org> | 2016-01-14 19:10:04 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-01-14 19:10:04 +0100 |
commit | aacf086246e15bd8bb96e05dd5c4e9c5fe6d0c9a (patch) | |
tree | 492fa5f5225dd8576cd992685432820ac94bc32a /libs/ardour/ardour/mtdm.h | |
parent | 2386410e4a64223931dc06ac7058cd42b0ad9dab (diff) |
add API to query signal value of audio-latency measurement
Diffstat (limited to 'libs/ardour/ardour/mtdm.h')
-rw-r--r-- | libs/ardour/ardour/mtdm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/mtdm.h b/libs/ardour/ardour/mtdm.h index b57df7254a..bb30ac5d0a 100644 --- a/libs/ardour/ardour/mtdm.h +++ b/libs/ardour/ardour/mtdm.h @@ -34,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 { @@ -54,6 +55,7 @@ private: int _cnt; int _inv; Freq _freq [13]; + float _peak; }; #endif /* __libardour_mtdm_h__ */ |