diff options
author | André Nusser <andre.nusser@googlemail.com> | 2018-07-21 15:44:46 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2018-07-21 15:44:46 +0200 |
commit | a7e14b2065b6f1ee07aac3c6b936d968abfbd42c (patch) | |
tree | 1d4e84c106878b75d082cb1d1ceb345a09adb725 /plugingui/humaniservisualiser.h | |
parent | 6ba96e9a60428676fdf5cf6060e5d981ba1f3976 (diff) |
Fix visualization to be samplerate independent.
Diffstat (limited to 'plugingui/humaniservisualiser.h')
-rw-r--r-- | plugingui/humaniservisualiser.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/humaniservisualiser.h b/plugingui/humaniservisualiser.h index 576ae6f..55e37d2 100644 --- a/plugingui/humaniservisualiser.h +++ b/plugingui/humaniservisualiser.h @@ -63,7 +63,7 @@ private: void latencyEnabledChanged(bool enabled); void velocityEnabledChanged(bool enabled); - void latencyOffsetChanged(int offset); + void latencyOffsetChanged(float offset); void velocityOffsetChanged(float offset); void latencyStddevChanged(float stddev); void latencyLaidbackChanged(float laidback); @@ -77,13 +77,13 @@ private: bool latency_enabled{false}; bool velocity_enabled{false}; - int latency_offset; + float latency_offset; float velocity_offset; float latency_stddev; int laidback; float velocity_stddev; SettingsNotifier& settings_notifier; - const int latency_max_samples; + const float latency_max_ms; Settings& settings; }; |