diff options
Diffstat (limited to 'libs/ardour/ardour/automation_list.h')
-rw-r--r-- | libs/ardour/ardour/automation_list.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ardour/automation_list.h b/libs/ardour/ardour/automation_list.h index 9a5420e74b..58d1fe4acf 100644 --- a/libs/ardour/ardour/automation_list.h +++ b/libs/ardour/ardour/automation_list.h @@ -64,8 +64,8 @@ class AutomationList : public PBD::StatefulDestructible, public Evoral::ControlL return (_state & Play) || ((_state & Touch) && !touching()); } bool automation_write () const { - return ((_state & Write) || ((_state & Touch) && touching())); - } + return ((_state & Write) || ((_state & Touch) && touching())); + } PBD::Signal0<void> StateChanged; @@ -75,9 +75,9 @@ class AutomationList : public PBD::StatefulDestructible, public Evoral::ControlL void stop_touch (bool mark, double when); bool touching() const { return g_atomic_int_get (&_touching); } bool writing() const { return _state == Write; } - bool touch_enabled() const { return _state == Touch; } + bool touch_enabled() const { return _state == Touch; } - XMLNode& get_state (); + XMLNode& get_state (); int set_state (const XMLNode &, int version); XMLNode& state (bool full); XMLNode& serialize_events (); |