![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Evaluates sender's frequency to receivers's frequency ratio. More...
#include <roc_audio/freq_estimator.h>

Public Member Functions | |
| FreqEstimator (FreqEstimatorProfile profile, packet::stream_timestamp_t target_latency) | |
| Initialize. | |
| float | freq_coeff () const |
| Get current frequecy coefficient. | |
| void | update (packet::stream_timestamp_t current_latency) |
| Compute new value of frequency coefficient. | |
Evaluates sender's frequency to receivers's frequency ratio.
Definition at line 62 of file freq_estimator.h.
| roc::audio::FreqEstimator::FreqEstimator | ( | FreqEstimatorProfile | profile, |
| packet::stream_timestamp_t | target_latency | ||
| ) |
Initialize.
Parameters
profile defines configuration preset.target_latency defines latency we want to archive. | float roc::audio::FreqEstimator::freq_coeff | ( | ) | const |
Get current frequecy coefficient.
| void roc::audio::FreqEstimator::update | ( | packet::stream_timestamp_t | current_latency | ) |
Compute new value of frequency coefficient.