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
This commit is contained in:
Paul Davis 2019-11-06 16:00:00 -07:00
parent 9694f89966
commit febaa1ff2d
17 changed files with 26 additions and 25 deletions

View file

@ -3234,10 +3234,10 @@ PluginInsert::realtime_handle_transport_stopped ()
}
void
PluginInsert::realtime_locate ()
PluginInsert::realtime_locate (bool for_loop_end)
{
for (Plugins::iterator i = _plugins.begin(); i != _plugins.end(); ++i) {
(*i)->realtime_locate ();
(*i)->realtime_locate (for_loop_end);
}
}