diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/latencyfilter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<typename T1, typename T2> 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) |