From fd42107d5429392b4ef0dbb9417d319eb70a6626 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 29 Nov 2020 14:22:28 +0100 Subject: Clean up member initialization in JackDriver --- src/JackDriver.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/JackDriver.hpp') diff --git a/src/JackDriver.hpp b/src/JackDriver.hpp index 355e211..f3fcaf0 100644 --- a/src/JackDriver.hpp +++ b/src/JackDriver.hpp @@ -86,15 +86,15 @@ private: static void jack_shutdown_cb(void* jack_driver); - ILog& _log; - jack_client_t* _client; - + ILog& _log; std::mutex _shutdown_mutex; - jack_nframes_t _buffer_size; - uint32_t _xruns; - float _xrun_delay; - bool _is_activated : 1; + jack_client_t* _client = nullptr; + jack_nframes_t _buffer_size = 0u; + uint32_t _xruns = 0u; + float _xrun_delay = 0.0f; + + bool _is_activated : 1; }; #endif // PATCHAGE_JACKDRIVER_HPP -- cgit v1.2.1