summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/JackDriver.cpp4
-rw-r--r--src/JackDriver.hpp14
2 files changed, 7 insertions, 11 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp
index e19460d..aca6b65 100644
--- a/src/JackDriver.cpp
+++ b/src/JackDriver.cpp
@@ -48,10 +48,6 @@ PATCHAGE_RESTORE_WARNINGS
JackDriver::JackDriver(ILog& log, EventSink emit_event)
: Driver{std::move(emit_event)}
, _log{log}
- , _client{nullptr}
- , _buffer_size{0}
- , _xruns{0}
- , _xrun_delay{0}
, _is_activated{false}
{}
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