diff options
author | André Nusser <andre.nusser@googlemail.com> | 2018-06-15 19:35:14 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2018-06-15 19:35:14 +0200 |
commit | 8d0ad1fe0d71100ab07a60b2d7824a4a2e6a3ce0 (patch) | |
tree | 8269d8a8b2f7c0ada52b4a365588755c98f96b0f /src/latencyfilter.cc | |
parent | 7dd8cab92e5e3300834d39b7f5f9f5547681cdc1 (diff) |
Not an issue but just for the sake of a good night's sleep.
Diffstat (limited to 'src/latencyfilter.cc')
-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) |