diff options
author | David Robillard <d@drobilla.net> | 2022-08-18 01:20:27 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-18 01:20:27 -0400 |
commit | 44381dbda9dbf8d20894789fe8e3ea941b70a1d0 (patch) | |
tree | 27c4da20f5a796825f7485aa7a1f447ff423f0f6 /src/gui/App.hpp | |
parent | 9126ed67acf17bb2009430cb6de25b2ffd783d8e (diff) | |
download | ingen-44381dbda9dbf8d20894789fe8e3ea941b70a1d0.tar.gz ingen-44381dbda9dbf8d20894789fe8e3ea941b70a1d0.tar.bz2 ingen-44381dbda9dbf8d20894789fe8e3ea941b70a1d0.zip |
Use default member initialization
Diffstat (limited to 'src/gui/App.hpp')
-rw-r--r-- | src/gui/App.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/App.hpp b/src/gui/App.hpp index c09d1cd5..032f5eb4 100644 --- a/src/gui/App.hpp +++ b/src/gui/App.hpp @@ -177,20 +177,20 @@ protected: ingen::World& _world; - int32_t _sample_rate; - int32_t _block_length; - int32_t _n_threads; - float _mean_run_load; - float _min_run_load; - float _max_run_load; + int32_t _sample_rate{48000}; + int32_t _block_length{1024}; + int32_t _n_threads{1}; + float _mean_run_load{0.0f}; + float _min_run_load{0.0f}; + float _max_run_load{0.0f}; std::string _status_text; using ActivityPorts = std::unordered_map<Port*, bool>; ActivityPorts _activity_ports; - bool _enable_signal; - bool _requested_plugins; - bool _is_plugin; + bool _enable_signal{true}; + bool _requested_plugins{false}; + bool _is_plugin{false}; }; } // namespace gui |