diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-07-02 17:34:49 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2014-07-02 17:35:38 -0500 |
commit | a1c8e67e50d0bb61e7389ccd81ea80f50ec3388a (patch) | |
tree | e6e24c44a8d0b3c9495e206cbb988204cd22276a /libs/ardour/session_process.cc | |
parent | 0f1c7b1d71078a25c1df80e7c95d59229f613414 (diff) |
add a method to cancel a pending play_range. this is needed when we are modifying the range with keyboard commands.
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 680f2861de..b1e336c373 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -1142,6 +1142,10 @@ Session::process_event (SessionEvent* ev) set_play_range (ev->audio_range, (ev->speed == 1.0f)); break; + case SessionEvent::CancelPlayAudioRange: + unset_play_range(); + break; + case SessionEvent::RealTimeOperation: process_rtop (ev); del = false; // other side of RT request needs to clean up |