diff options
author | David Robillard <d@drobilla.net> | 2014-11-19 19:24:07 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-19 19:24:16 -0500 |
commit | a9936205b182faf1b32b06dbf312b4c9c77f4872 (patch) | |
tree | fce3d5526ddf749b82aabe3350be6b5278a31448 /patchfiles | |
parent | 4ffdc99c5fee8e8f62cddd4f815b132c06c83711 (diff) |
Fix dropped MIDI events, especially with record enabled.
I am not precisely sure why the cached iterator was causing this problem, it
shouldn't be invalidated, and the times make sense. It may be some lock
related issue since the iterator holds a lock on the source.
In any case, this cached iterator was just to avoid repeated linear search of
the model, but since the model has a logarithmic search, instead just scrap all
this problematic persistent state and search for the appropriate start time
every read. No need to be careful about invalidating when anything changes.
Diffstat (limited to 'patchfiles')
0 files changed, 0 insertions, 0 deletions