use a lock to set/get AutomationList automation state
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 12 Aug 2017 18:38:56 +0000 (14:38 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sat, 12 Aug 2017 18:40:21 +0000 (14:40 -0400)
commit840253749326472cb7aecae70bcdd5a54c9ee842
tree273ffab55063faa71c03a3796344cbee8a9e93d9
parent3ff352be7950726876c4818d7f6cf2311235ac6d
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
libs/ardour/ardour/automation_list.h
libs/ardour/automation_list.cc