loopback: Adjust rate based on latency difference
authorGeorg Chini <georg@chini.tk>
Sun, 5 Jun 2016 19:05:10 +0000 (21:05 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 13 Jul 2016 22:13:53 +0000 (01:13 +0300)
commitc03633766cc8b916565dce5ff2a7e4e263ca3b43
tree87554b02c1064650bce792f566e22666d01f4832
parent4a11742652a99b00f86c8de2db7038c65fdf2225
loopback: Adjust rate based on latency difference

Replace the current latency controller with a modified P-controller. For
better readability separate the controller function. For small latency
differences, the controller forms a classical P-controller while it saturates
at 1% deviation from the base rate for large latency differences.
src/modules/module-loopback.c