From febaa1ff2d1f5150d30902f7ccc8b5dfcfb3c913 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 6 Nov 2019 16:00:00 -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/midi_port.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/midi_port.cc') diff --git a/libs/ardour/midi_port.cc b/libs/ardour/midi_port.cc index 57df97017f..1a34b032b8 100644 --- a/libs/ardour/midi_port.cc +++ b/libs/ardour/midi_port.cc @@ -357,7 +357,7 @@ MidiPort::transport_stopped () } void -MidiPort::realtime_locate () +MidiPort::realtime_locate (bool) { _resolve_required = true; } -- cgit v1.2.3