From 4bc0d1c475f4f8c87b0fea690e5105d31337d6f4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 20 Nov 2014 15:36:11 -0500 Subject: Fix lost MIDI note offs and controllers. Fix initial read of discrete MIDI controllers. Fix spurious note offs when starting to play in the middle of a note. Faster search for initial event when cached iterator is invalid. So much for dropping the cached iterator. The iterator is responsible for handling note offs, so that doesn't work. This design means we have some stuck note issues at the source read level, but they should be taken care of by the state tracker anyway. --- libs/evoral/src/Sequence.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'libs/evoral/src/Sequence.cpp') diff --git a/libs/evoral/src/Sequence.cpp b/libs/evoral/src/Sequence.cpp index 1cc8ff6e0f..082f8f24ea 100644 --- a/libs/evoral/src/Sequence.cpp +++ b/libs/evoral/src/Sequence.cpp @@ -61,10 +61,13 @@ namespace Evoral { template Sequence