loopback: Add hooks to track port latency offsets
authorGeorg Chini <georg@chini.tk>
Mon, 10 Apr 2017 19:47:23 +0000 (21:47 +0200)
committerGeorg Chini <georg@chini.tk>
Mon, 10 Apr 2017 19:47:23 +0000 (21:47 +0200)
commit5bc363d4b84ccbb07727d7d0603598a3b664b1b1
tree8f10a240becb494f6d94296f7a59bf22b0815af1
parent6f2e22e7ad5671f687687ff2a8d66b95a7a30bef
loopback: Add hooks to track port latency offsets

The previous patch assumed constant port latency offsets. The offsets can
however be changed by the user, therefore these changes need to be tracked
as well. This patch adds the necessary hooks.

Also the print_msg argument was removed from update_minimum_latency() and
update_latency_boundaries() because the message should always be logged.
src/modules/module-loopback.c
src/pulsecore/core.h
src/pulsecore/sink.c
src/pulsecore/source.c