Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::audio::LatencyMonitorConfig Struct Reference

Parameters for latency monitor. More...

#include <latency_monitor.h>

Public Attributes

core::nanoseconds_t fe_update_interval
 FreqEstimator update interval, nanoseconds. How often to run FreqEstimator and update Resampler scaling. More...
 
core::nanoseconds_t min_latency
 Minimum allowed latency, nanoseconds. If the latency goes out of bounds, the session is terminated. More...
 
core::nanoseconds_t max_latency
 Maximum allowed latency, nanoseconds. If the latency goes out of bounds, the session is terminated. More...
 
float max_scaling_delta
 Maximum allowed freq_coeff delta around one. If the scaling goes out of bounds, it is trimmed. For example, 0.01 allows freq_coeff values in range [0.99; 1.01]. More...
 

Detailed Description

Parameters for latency monitor.

Definition at line 28 of file latency_monitor.h.

Member Data Documentation

core::nanoseconds_t roc::audio::LatencyMonitorConfig::fe_update_interval

FreqEstimator update interval, nanoseconds. How often to run FreqEstimator and update Resampler scaling.

Definition at line 31 of file latency_monitor.h.

core::nanoseconds_t roc::audio::LatencyMonitorConfig::max_latency

Maximum allowed latency, nanoseconds. If the latency goes out of bounds, the session is terminated.

Definition at line 39 of file latency_monitor.h.

float roc::audio::LatencyMonitorConfig::max_scaling_delta

Maximum allowed freq_coeff delta around one. If the scaling goes out of bounds, it is trimmed. For example, 0.01 allows freq_coeff values in range [0.99; 1.01].

Definition at line 44 of file latency_monitor.h.

core::nanoseconds_t roc::audio::LatencyMonitorConfig::min_latency

Minimum allowed latency, nanoseconds. If the latency goes out of bounds, the session is terminated.

Definition at line 35 of file latency_monitor.h.


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