Fix stuck notes on save during MIDI playback.
This commit is contained in:
parent
16ded1acac
commit
4d2d693190
@ -1453,6 +1453,11 @@ MidiModel::sync_to_source (const Glib::Threads::Mutex::Lock& source_lock)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Invalidate and store active notes, which will be picked up by the iterator
|
||||||
|
on the next roll if time progresses linearly. */
|
||||||
|
ms->invalidate(source_lock,
|
||||||
|
ms->session().transport_rolling() ? &_active_notes : NULL);
|
||||||
|
|
||||||
ms->mark_streaming_midi_write_started (source_lock, note_mode());
|
ms->mark_streaming_midi_write_started (source_lock, note_mode());
|
||||||
|
|
||||||
for (Evoral::Sequence<TimeType>::const_iterator i = begin(TimeType(), true); i != end(); ++i) {
|
for (Evoral::Sequence<TimeType>::const_iterator i = begin(TimeType(), true); i != end(); ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user