more midi io debugging

git-svn-id: svn://localhost/ardour2/branches/3.0@9868 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-07-13 20:14:53 +00:00
parent f5212ea181
commit 160f1493fa

View file

@ -889,7 +889,7 @@ template<typename Time>
void void
Sequence<Time>::append_note_off_unlocked (NotePtr note) Sequence<Time>::append_note_off_unlocked (NotePtr note)
{ {
DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1 c=%2 note %3 on @ %4 v=%5\n", DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1 c=%2 note %3 OFF @ %4 v=%5\n",
this, (int)note->channel(), this, (int)note->channel(),
(int)note->note(), note->time(), (int)note->velocity())); (int)note->note(), note->time(), (int)note->velocity()));
assert(note->note() <= 127); assert(note->note() <= 127);
@ -925,7 +925,7 @@ Sequence<Time>::append_note_off_unlocked (NotePtr note)
nn->set_off_velocity (note->velocity()); nn->set_off_velocity (note->velocity());
_write_notes[note->channel()].erase(n); _write_notes[note->channel()].erase(n);
DEBUG_TRACE (DEBUG::Sequence, string_compose ("resolved note, length: %1\n", note->length())); DEBUG_TRACE (DEBUG::Sequence, string_compose ("resolved note, length: %1\n", nn->length()));
resolved = true; resolved = true;
break; break;
} }