summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_source.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-05-30 21:37:58 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-05-30 21:37:58 +0000
commitde9e216cb5fcc08b6c39071d7cef031673aa67da (patch)
tree696922c23551b5609277be3dbbc4b1d378ad6fc2 /libs/ardour/midi_source.cc
parent14a80c091d850045bd35c56d5d378bfdd2fbe4f9 (diff)
(1) push a locate all the way through the processing heirarchy so that MIDI output ports can resolve any notes currently playing (2) remove MidiStateTracker from MidiPort and use a fixed set of MIDI messages (sustain-off and all-notes-off, per channel) to do note resolution (3) move note resolution caused by a LoopEvent psuedo-event to within the main MidiPort::flush_output() loop, so that we resolve (turn off) Notes that come before the loop point, rather than send them out after the note resolution messages
git-svn-id: svn://localhost/ardour2/branches/3.0@9635 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_source.cc')
-rw-r--r--libs/ardour/midi_source.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/midi_source.cc b/libs/ardour/midi_source.cc
index 6f8e0184df..fe7a7821db 100644
--- a/libs/ardour/midi_source.cc
+++ b/libs/ardour/midi_source.cc
@@ -206,6 +206,9 @@ MidiSource::midi_read (Evoral::EventSink<framepos_t>& dst, framepos_t source_sta
BeatsFramesConverter converter(_session.tempo_map(), source_start);
+ DEBUG_TRACE (DEBUG::MidiSourceIO, string_compose ("MidiSource::midi-read() sstart %1 start %2 cnt %3 tracker %4\n",
+ source_start, start, cnt, tracker));
+
if (_model) {
Evoral::Sequence<double>::const_iterator& i = _model_iter;