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/ardour/session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/ardour/session.h') diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index f97a30da0f..62742109be 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -1693,7 +1693,7 @@ private: void force_locate (samplepos_t sample, bool with_roll = false); void set_transport_speed (double speed, samplepos_t destination_sample, bool abort = false, bool clear_state = false, bool as_default = false); void realtime_stop (bool abort, bool clear_state); - void realtime_locate (); + void realtime_locate (bool); void non_realtime_start_scrub (); void non_realtime_set_speed (); void non_realtime_locate (); -- cgit v1.2.3