diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-05-16 12:24:54 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-05-16 12:24:54 -0600 |
commit | 2ac934c1ae91da94dd876c89f075d4b0f4cb0d9f (patch) | |
tree | f87d1d849aef7eb04350b7f40c5cbbf435e9ca26 /libs | |
parent | c82ca66fcc9e7f680f460d1014ca566c25b237b7 (diff) |
add explanatory comments regarding SetLoop vs. AutoLoop SessionEvents
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session_process.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index 5205989bd5..4c77d1f752 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -860,10 +860,18 @@ Session::process_event (SessionEvent* ev) switch (ev->type) { case SessionEvent::SetLoop: + /* this is the event sent by a UI to define whether or not we + use loop range playback or not. + */ set_play_loop (ev->yes_or_no, true); break; case SessionEvent::AutoLoop: + /* this is the event event created by the Session that marks + the end of the loop range and if we're loop playing, + triggers a special kind of locate back to the start of the + loop range. + */ if (play_loop) { /* roll after locate, do not flush, set "for loop end" true */ |