![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Latency settings. More...
#include <roc_audio/latency_tuner.h>
Public Member Functions | |
| LatencyConfig () | |
| Initialize. | |
| void | deduce_defaults (core::nanoseconds_t default_target_latency, bool is_receiver) |
| Automatically fill missing settings. | |
Public Attributes | |
| LatencyTunerBackend | tuner_backend |
| Latency tuner backend to use. | |
| LatencyTunerProfile | tuner_profile |
| Latency tuner profile to use. | |
| core::nanoseconds_t | target_latency |
| Target latency. | |
| core::nanoseconds_t | latency_tolerance |
| Maximum allowed deviation from target latency. | |
| core::nanoseconds_t | stale_tolerance |
| Maximum delay since last packet before queue is considered stalling. | |
| core::nanoseconds_t | scaling_interval |
| Scaling update interval. | |
| float | scaling_tolerance |
| Maximum allowed deviation of freq_coeff from 1.0. | |
Latency settings.
Definition at line 64 of file latency_tuner.h.
|
inline |
Initialize.
Definition at line 118 of file latency_tuner.h.
| void roc::audio::LatencyConfig::deduce_defaults | ( | core::nanoseconds_t | default_target_latency, |
| bool | is_receiver | ||
| ) |
Automatically fill missing settings.
| core::nanoseconds_t roc::audio::LatencyConfig::latency_tolerance |
Maximum allowed deviation from target latency.
Definition at line 89 of file latency_tuner.h.
| core::nanoseconds_t roc::audio::LatencyConfig::scaling_interval |
Scaling update interval.
Definition at line 106 of file latency_tuner.h.
| float roc::audio::LatencyConfig::scaling_tolerance |
Maximum allowed deviation of freq_coeff from 1.0.
Definition at line 115 of file latency_tuner.h.
| core::nanoseconds_t roc::audio::LatencyConfig::stale_tolerance |
Maximum delay since last packet before queue is considered stalling.
Definition at line 98 of file latency_tuner.h.
| core::nanoseconds_t roc::audio::LatencyConfig::target_latency |
Target latency.
Definition at line 81 of file latency_tuner.h.
| LatencyTunerBackend roc::audio::LatencyConfig::tuner_backend |
Latency tuner backend to use.
Definition at line 68 of file latency_tuner.h.
| LatencyTunerProfile roc::audio::LatencyConfig::tuner_profile |
Latency tuner profile to use.
Definition at line 73 of file latency_tuner.h.