diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-11-06 22:12:40 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-11-06 22:12:40 -0700 |
commit | 625b8297ea59232a1d91f9bf2efeb65ca70b9791 (patch) | |
tree | 1a7c06502d85374fa0aa578f857dea21d8a49d5b /libs/ardour/plugin.cc | |
parent | eda27cc3de7dda78aaf24edf0ba7e75e7a9df8b9 (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/plugin.cc')
-rw-r--r-- | libs/ardour/plugin.cc | 8 |
1 files changed, 6 insertions, 2 deletions
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 |