diff options
author | David Robillard <d@drobilla.net> | 2020-11-29 16:55:25 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-29 18:03:31 +0100 |
commit | d3561e8cf1d5a289ff2ce4a26e4a970437a812d5 (patch) | |
tree | 2383de628f8f1afe820fdd81dd5780f585f93717 /src/JackDriver.hpp | |
parent | 86ce5ca10998fbeb3e9841cb2307caf00373b946 (diff) | |
download | patchage-d3561e8cf1d5a289ff2ce4a26e4a970437a812d5.tar.gz patchage-d3561e8cf1d5a289ff2ce4a26e4a970437a812d5.tar.bz2 patchage-d3561e8cf1d5a289ff2ce4a26e4a970437a812d5.zip |
Remove flaky DSP load meter
This never worked particularly well, and the underlying API is more or less
useless with Jack 2. So, just replace it with a dropout counter.
Diffstat (limited to 'src/JackDriver.hpp')
-rw-r--r-- | src/JackDriver.hpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/JackDriver.hpp b/src/JackDriver.hpp index f3fcaf0..d93b491 100644 --- a/src/JackDriver.hpp +++ b/src/JackDriver.hpp @@ -56,8 +56,6 @@ public: uint32_t get_xruns() const { return _xruns; } void reset_xruns(); - float get_max_dsp_load(); - void reset_max_dsp_load(); uint32_t sample_rate() { return jack_get_sample_rate(_client); } uint32_t buffer_size(); @@ -92,7 +90,6 @@ private: jack_client_t* _client = nullptr; jack_nframes_t _buffer_size = 0u; uint32_t _xruns = 0u; - float _xrun_delay = 0.0f; bool _is_activated : 1; }; |