From 8d0ad1fe0d71100ab07a60b2d7824a4a2e6a3ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Fri, 15 Jun 2018 19:35:14 +0200 Subject: Not an issue but just for the sake of a good night's sleep. --- src/latencyfilter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/latencyfilter.cc b/src/latencyfilter.cc index 3bfa866..9ea707d 100644 --- a/src/latencyfilter.cc +++ b/src/latencyfilter.cc @@ -41,7 +41,7 @@ LatencyFilter::LatencyFilter(Settings& settings, Random& random) template static T1 getLatencySamples(T1 latency_ms, T2 samplerate) { - return latency_ms * samplerate / 1000; + return latency_ms * samplerate / 1000.; } bool LatencyFilter::filter(event_t& event, std::size_t pos) -- cgit v1.2.3