summaryrefslogtreecommitdiff
path: root/plugingui/humaniservisualiser.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-07-18 16:46:13 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-07-18 16:46:13 +0200
commit04fc8205dc1cc471af9473162fdab48d0f39847b (patch)
tree9e8cd5c67928ae595d0c09e4f889d106626e18fa /plugingui/humaniservisualiser.h
parenta0484778a9953dfd1948bf4dac71c51deab18cab (diff)
Store and use laidback setting in milliseconds.
Diffstat (limited to 'plugingui/humaniservisualiser.h')
-rw-r--r--plugingui/humaniservisualiser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/humaniservisualiser.h b/plugingui/humaniservisualiser.h
index 6ef39b9..576ae6f 100644
--- a/plugingui/humaniservisualiser.h
+++ b/plugingui/humaniservisualiser.h
@@ -66,7 +66,7 @@ private:
void latencyOffsetChanged(int offset);
void velocityOffsetChanged(float offset);
void latencyStddevChanged(float stddev);
- void latencyLaidbackChanged(int laidback);
+ void latencyLaidbackChanged(float laidback);
void velocityStddevChanged(float stddev);
GUI::Texture stddev_h{getImageCache(), ":resources/stddev_horizontal.png"};
@@ -84,6 +84,8 @@ private:
float velocity_stddev;
SettingsNotifier& settings_notifier;
const int latency_max_samples;
+
+ Settings& settings;
};
Canvas canvas;