Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::MIDIDM Class Reference

#include <mididm.h>

Public Member Functions

 MIDIDM (samplecnt_t sample_rate)
 
int process (pframes_t nframes, PortEngine &pe, void *midi_in, void *midi_out)
 
samplecnt_t latency (void)
 
samplecnt_t processed (void)
 
double deviation (void)
 
bool ok (void)
 
bool have_signal (void)
 

Private Member Functions

int64_t parse_mclk (uint8_t const *const buf, pframes_t timestamp) const
 
int64_t parse_mtc (uint8_t const *const buf, pframes_t timestamp) const
 

Private Attributes

samplecnt_t _sample_rate
 
uint64_t _monotonic_cnt
 
uint64_t _last_signal_tme
 
uint64_t _cnt_total
 
uint64_t _dly_total
 
uint32_t _min_delay
 
uint32_t _max_delay
 
double _avg_delay
 
double _var_m
 
double _var_s
 

Detailed Description

Definition at line 28 of file mididm.h.

Constructor & Destructor Documentation

◆ MIDIDM()

ARDOUR::MIDIDM::MIDIDM ( samplecnt_t  sample_rate)

Member Function Documentation

◆ deviation()

double ARDOUR::MIDIDM::deviation ( void  )
inline

Definition at line 38 of file mididm.h.

◆ have_signal()

bool ARDOUR::MIDIDM::have_signal ( void  )
inline

Definition at line 40 of file mididm.h.

◆ latency()

samplecnt_t ARDOUR::MIDIDM::latency ( void  )
inline

Definition at line 36 of file mididm.h.

◆ ok()

bool ARDOUR::MIDIDM::ok ( void  )
inline

Definition at line 39 of file mididm.h.

◆ parse_mclk()

int64_t ARDOUR::MIDIDM::parse_mclk ( uint8_t const *const  buf,
pframes_t  timestamp 
) const
private

◆ parse_mtc()

int64_t ARDOUR::MIDIDM::parse_mtc ( uint8_t const *const  buf,
pframes_t  timestamp 
) const
private

◆ process()

int ARDOUR::MIDIDM::process ( pframes_t  nframes,
PortEngine pe,
void *  midi_in,
void *  midi_out 
)

◆ processed()

samplecnt_t ARDOUR::MIDIDM::processed ( void  )
inline

Definition at line 37 of file mididm.h.

Member Data Documentation

◆ _avg_delay

double ARDOUR::MIDIDM::_avg_delay
private

Definition at line 55 of file mididm.h.

◆ _cnt_total

uint64_t ARDOUR::MIDIDM::_cnt_total
private

Definition at line 51 of file mididm.h.

◆ _dly_total

uint64_t ARDOUR::MIDIDM::_dly_total
private

Definition at line 52 of file mididm.h.

◆ _last_signal_tme

uint64_t ARDOUR::MIDIDM::_last_signal_tme
private

Definition at line 49 of file mididm.h.

◆ _max_delay

uint32_t ARDOUR::MIDIDM::_max_delay
private

Definition at line 54 of file mididm.h.

◆ _min_delay

uint32_t ARDOUR::MIDIDM::_min_delay
private

Definition at line 53 of file mididm.h.

◆ _monotonic_cnt

uint64_t ARDOUR::MIDIDM::_monotonic_cnt
private

Definition at line 48 of file mididm.h.

◆ _sample_rate

samplecnt_t ARDOUR::MIDIDM::_sample_rate
private

Definition at line 46 of file mididm.h.

◆ _var_m

double ARDOUR::MIDIDM::_var_m
private

Definition at line 56 of file mididm.h.

◆ _var_s

double ARDOUR::MIDIDM::_var_s
private

Definition at line 57 of file mididm.h.


The documentation for this class was generated from the following file: