summaryrefslogtreecommitdiff
path: root/libs/ardour/transport_fsm.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-11-06 22:12:40 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2019-11-06 22:12:40 -0700
commit625b8297ea59232a1d91f9bf2efeb65ca70b9791 (patch)
tree1a7c06502d85374fa0aa578f857dea21d8a49d5b /libs/ardour/transport_fsm.cc
parenteda27cc3de7dda78aaf24edf0ba7e75e7a9df8b9 (diff)
fix unconditional note resolution during DiskReader::realtime_locate()
When looping, we do not want to resolve notes at the end of the loop via ::realtime_locate() - ::get_midi_playback() has already taken care of this. But when not looping, we need this. So, add an argument to tell all interested parties whether the locate is for a loop end or not
Diffstat (limited to 'libs/ardour/transport_fsm.cc')
-rw-r--r--libs/ardour/transport_fsm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/transport_fsm.cc b/libs/ardour/transport_fsm.cc
index 1bba909622..8ec572854c 100644
--- a/libs/ardour/transport_fsm.cc
+++ b/libs/ardour/transport_fsm.cc
@@ -419,7 +419,7 @@ void
TransportFSM::locate_for_loop (Event const & l)
{
assert (l.type == Locate);
- DEBUG_TRACE (DEBUG::TFSMEvents, "locate_for_loop\n");
+ DEBUG_TRACE (DEBUG::TFSMEvents, string_compose ("locate_for_loop, wl = %1\n", l.with_loop));
current_roll_after_locate_status = l.with_roll;
api->locate (l.target, l.with_roll, l.with_flush, l.with_loop, l.force);
}