summaryrefslogtreecommitdiff
path: root/src/latencyfilter.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-06-15 20:15:07 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-07-15 18:56:00 +0200
commitbe9fe821ff1689ece9ee6433fcf42ec316e0aaad (patch)
tree96ae9a9e52539c32b37d8f9805cf4a458125033a /src/latencyfilter.cc
parent3e003e674b31ca1308f5c32125f5a2152e773f17 (diff)
PoC for humanisation visualiser.
Diffstat (limited to 'src/latencyfilter.cc')
-rw-r--r--src/latencyfilter.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/latencyfilter.cc b/src/latencyfilter.cc
index 9ea707d..5cb6db2 100644
--- a/src/latencyfilter.cc
+++ b/src/latencyfilter.cc
@@ -92,6 +92,8 @@ bool LatencyFilter::filter(event_t& event, std::size_t pos)
event.offset += latency_laid_back; // laid back offset (user controlled)
event.offset += latency_offset; // current drift
+ settings.latency_current.store(latency_offset + latency_laid_back);
+
return true;
}