combine-sink: Add rate controller

System Internals / PulseAudio - Georg Chini [chini.tk] - 25 August 2021 15:32 UTC

This patch adds a rate controller similar to the one used in module-loopback to limit step size and maximum deviation from the base rate. Rate changes are handled more smoothly by the controller. The patch has not much impact on the behavior of the module, except that there is less rate hunting.

Part-of:

54baa223b combine-sink: Add rate controller
src/modules/module-combine-sink.c | 53 ++++++++++++++++++++++++++-------------
1 file changed, 36 insertions(+), 17 deletions(-)

Upstream: cgit.freedesktop.org


  • Share