summaryrefslogtreecommitdiff
path: root/src/latencyfilter.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2018-07-21 14:35:36 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2018-07-21 14:35:36 +0200
commit6ba96e9a60428676fdf5cf6060e5d981ba1f3976 (patch)
treeadade5a7befd072b42c9d1738bcfb1a702f7954f /src/latencyfilter.h
parent94e8431f321a359743d0663f50d5e9a53155dd9d (diff)
Switch latency_stddev to be samplerate independent (and thus in ms).
Visualization seems correct but I didn't verify the math.
Diffstat (limited to 'src/latencyfilter.h')
-rw-r--r--src/latencyfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latencyfilter.h b/src/latencyfilter.h
index a49dd47..8191276 100644
--- a/src/latencyfilter.h
+++ b/src/latencyfilter.h
@@ -44,6 +44,6 @@ public:
private:
Settings& settings;
Random& random;
- double latency_offset{0.0};
+ float latency_offset{0.0};
std::size_t latency_last_pos{0};
};