diff options
author | Robin Gareus <robin@gareus.org> | 2020-04-12 13:35:21 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-04-12 13:35:21 +0200 |
commit | fc34626e501ed5c64400f222028e34691f67efa2 (patch) | |
tree | 06426b6f1684c6703ca4df23019b5564699c968b /libs/ardour/session_process.cc | |
parent | 68ecf6c0b33e1348523f7540d1a2603321a915bc (diff) |
Fix loop range changes while playing - #8001
Since ead883302fe800ae, it is no longer possible to use a null
pointer SessionEvent::track as flag to indicate overriding all
buffers.
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r-- | libs/ardour/session_process.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index 089aed7c03..f5613d3af4 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -954,6 +954,10 @@ Session::process_event (SessionEvent* ev) } break; + case SessionEvent::OverwriteAll: + overwrite_some_buffers (boost::shared_ptr<Track>(), ev->overwrite); + break; + case SessionEvent::Audition: set_audition (ev->region); // drop reference to region |