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.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/engine/JackDriver.hpp b/src/engine/JackDriver.hpp
index 9f47363..8b62424 100644
--- a/src/engine/JackDriver.hpp
+++ b/src/engine/JackDriver.hpp
@@ -43,7 +43,9 @@ class Node;
* "Ticks" are individual frames when running under this driver, and all code
* in the processing context must be realtime safe (non-blocking).
*/
-class JackDriver : public Machina::Driver {
+class JackDriver
+ : public Machina::Driver
+{
public:
JackDriver(Raul::Forge& forge,
SharedPtr<Machine> machine = SharedPtr<Machine>());
@@ -81,7 +83,7 @@ public:
}
bool is_activated() const { return _is_activated; }
- bool is_attached() const { return (_client != NULL); }
+ bool is_attached() const { return _client != NULL; }
bool is_realtime() const { return _client && jack_is_realtime(_client); }
jack_nframes_t sample_rate() const { return jack_get_sample_rate(_client); }
@@ -107,8 +109,8 @@ private:
Context _context;
- Raul::TimeUnit _frames_unit;
- Raul::TimeUnit _beats_unit;
+ Raul::TimeUnit _frames_unit;
+ Raul::TimeUnit _beats_unit;
Raul::DoubleBuffer<double> _bpm;
Raul::DoubleBuffer<double> _quantization;