diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-05-04 18:48:01 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-05-04 18:48:17 -0600 |
commit | 9b070eefb106c25032d6e077090d9f8a959aefc4 (patch) | |
tree | 689ea306607f0f2461d0940c7ad560a81439c18e /ardour.1.ru | |
parent | 7644168536a37b79eb13f598ca884e0fb7209a3a (diff) |
fix note-tracking in Editor::write_one_track()
We need a MidiStateTracker to determine notes whose end is not reached
during the call to ::write_one_track(), so that we can resolve them
in the output (SMF) source. This required some changes to the ::export_stuff()
API for tracks.
In addition, we now take the source "lock" just once during ::write_one_track()
rather than every time we write. This isn't an integral part of the
note tracking, but fell out along the way.
Finally, note that although we use a vector to handle MIDI "sources" here,
it is expected that there is only 1 MIDI source at present. Leave vectors in
place since it is possible that ::write_one_track() could be modified
in the future to change that.
Diffstat (limited to 'ardour.1.ru')
0 files changed, 0 insertions, 0 deletions