summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/automation_list.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-08-12 14:38:56 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-08-12 14:40:21 -0400
commit840253749326472cb7aecae70bcdd5a54c9ee842 (patch)
tree273ffab55063faa71c03a3796344cbee8a9e93d9 /libs/ardour/ardour/automation_list.h
parent3ff352be7950726876c4818d7f6cf2311235ac6d (diff)
use a lock to set/get AutomationList automation state
It isn't 100% clear that we should use the list's data lock, but it seems quite likely that this is the correct design, because of the interlock between data being present and automation state
Diffstat (limited to 'libs/ardour/ardour/automation_list.h')
-rw-r--r--libs/ardour/ardour/automation_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/automation_list.h b/libs/ardour/ardour/automation_list.h
index 46643dc6fa..359d98856c 100644
--- a/libs/ardour/ardour/automation_list.h
+++ b/libs/ardour/ardour/automation_list.h
@@ -85,7 +85,7 @@ public:
bool paste (const ControlList&, double, DoubleBeatsFramesConverter const&);
void set_automation_state (AutoState);
- AutoState automation_state() const { return _state; }
+ AutoState automation_state() const;
PBD::Signal1<void, AutoState> automation_state_changed;
bool automation_playback() const {