From 625b8297ea59232a1d91f9bf2efeb65ca70b9791 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 6 Nov 2019 22:12:40 -0700 Subject: 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 --- libs/ardour/plugin.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libs/ardour/plugin.cc') diff --git a/libs/ardour/plugin.cc b/libs/ardour/plugin.cc index 5d77b375bc..0539d5a8cf 100644 --- a/libs/ardour/plugin.cc +++ b/libs/ardour/plugin.cc @@ -391,9 +391,13 @@ Plugin::realtime_handle_transport_stopped () } void -Plugin::realtime_locate (bool) +Plugin::realtime_locate (bool for_loop_end) { - resolve_midi (); + std::cerr << name() << " RL fle = " << for_loop_end << std::endl; + + //if (!for_loop_end) { + resolve_midi (); +//} } void -- cgit v1.2.3