mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 06:05:43 +01:00
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:
parent
9694f89966
commit
febaa1ff2d
17 changed files with 26 additions and 25 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue