On Sun, 2016-06-05 at 21:05 +0200, Georg Chini wrote:
> @@ -261,6 +267,7 @@ static void adjust_rates(struct userdata *u) {
> int32_t latency_difference;
> pa_usec_t current_buffer_latency, snapshot_delay,
> current_source_sink_latency, current_latency, latency_at_optimum_rate;
>
A Kalman filter is added to further reduce noise. The Kalman filter needs a
latency prediction as input, so estimate the next expected latency as well.
Details regarding the filter can again be found in "rate_estimator.odt"
---
src/modules/module-loopback.c | 50