diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-25 16:09:47 +0200 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 11:40:52 -0400 |
commit | 1d587592ca1472e38b2f8127b87b6202874f0d4e (patch) | |
tree | a3e282d5a21e0d23b0fc58541547160082343e21 /libs/ardour/automatable.cc | |
parent | 1545c426d9e3bc0411f3b5532c0c5a9eb09394c8 (diff) |
Add support for Latch Automation
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r-- | libs/ardour/automatable.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index 57c8205717..8025386d1f 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -329,6 +329,8 @@ Automatable::protect_automation () case Write: l->set_automation_state (Off); break; + case Latch: + // no break case Touch: l->set_automation_state (Play); break; @@ -408,6 +410,7 @@ Automatable::non_realtime_transport_stop (framepos_t now, bool /*flush_processor */ const bool list_did_write = !l->in_new_write_pass (); + c->stop_touch (now); l->stop_touch (now); c->commit_transaction (list_did_write); |