summaryrefslogtreecommitdiff
path: root/src/latencyfilter.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2018-06-15 19:35:14 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2018-06-15 19:35:14 +0200
commit8d0ad1fe0d71100ab07a60b2d7824a4a2e6a3ce0 (patch)
tree8269d8a8b2f7c0ada52b4a365588755c98f96b0f /src/latencyfilter.cc
parent7dd8cab92e5e3300834d39b7f5f9f5547681cdc1 (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.cc2
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)