aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/JackDriver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/JackDriver.hpp')
-rw-r--r--src/engine/JackDriver.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/JackDriver.hpp b/src/engine/JackDriver.hpp
index cfdd0d6..f1eb80c 100644
--- a/src/engine/JackDriver.hpp
+++ b/src/engine/JackDriver.hpp
@@ -18,6 +18,8 @@
#ifndef MACHINA_JACKDRIVER_HPP
#define MACHINA_JACKDRIVER_HPP
+#include <atomic>
+
#include <boost/enable_shared_from_this.hpp>
#include <jack/jack.h>
@@ -115,7 +117,7 @@ private:
bool _stop_flag;
Raul::TimeDuration _record_dur;
- Raul::AtomicInt _recording;
+ std::atomic<bool> _recording;
SharedPtr<Recorder> _recorder;
bool _is_activated;
};