diff options
author | Robin Gareus <robin@gareus.org> | 2017-05-30 15:13:37 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-05-30 15:13:37 +0200 |
commit | 67f9f6fd75c0786d413705ad83ffc1d878eda52e (patch) | |
tree | 1308e6229658a74fef92cc263dfd66cc39369ca5 /libs/ardour/automatable.cc | |
parent | da021ef08f70f61acfab9bd29a0d179b5ddc3cf4 (diff) |
Prepare for automation control master
Basic infrastructure to allow VCA automation and Trim automation:
look up events during automation playback.
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r-- | libs/ardour/automatable.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index 00dcdec8f0..462f4f2974 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -563,6 +563,13 @@ Automatable::find_next_event (double now, double end, Evoral::ControlEvent& next continue; } + boost::shared_ptr<SlavableAutomationControl> sc + = boost::dynamic_pointer_cast<SlavableAutomationControl>(li->second); + + if (sc) { + sc->find_next_event (now, end, next_event); + } + Evoral::ControlList::const_iterator i; boost::shared_ptr<const Evoral::ControlList> alist (li->second->list()); Evoral::ControlEvent cp (now, 0.0f); |