19 #ifndef __libardour_mididm_h__
20 #define __libardour_mididm_h__
39 double deviation (
void) {
return _cnt_total > 1 ? sqrt(_var_s / ((
double)(_cnt_total - 1))) : 0; }
40 bool ok (
void) {
return _cnt_total > 200; }
41 bool have_signal (
void) {
return (_monotonic_cnt - _last_signal_tme) < (uint64_t) _sample_rate ; }
44 int64_t parse_mclk (uint8_t* buf,
pframes_t timestamp)
const;
45 int64_t parse_mtc (uint8_t* buf,
pframes_t timestamp)
const;
framecnt_t processed(void)
uint64_t _last_signal_tme