summaryrefslogtreecommitdiff
path: root/libs/ardour/plugin_insert.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-11-06 16:00:00 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2019-11-06 16:00:31 -0700
commitfebaa1ff2d1f5150d30902f7ccc8b5dfcfb3c913 (patch)
tree8fa79254ff807577eb6977987f834edfed8905fb /libs/ardour/plugin_insert.cc
parent9694f8996643e8845393aa60548f97ccc416d4e1 (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_insert.cc')
-rw-r--r--libs/ardour/plugin_insert.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc
index ba2346b72f..24b5dfd8ad 100644
--- a/libs/ardour/plugin_insert.cc
+++ b/libs/ardour/plugin_insert.cc
@@ -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);
}
}