more midi io debugging
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 13 Jul 2011 20:14:53 +0000 (20:14 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 13 Jul 2011 20:14:53 +0000 (20:14 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9868 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/evoral/src/Sequence.cpp

index 1d91690a6143b6d9de0f31328160f2c59776e461..7296ff4e1c55ce4fe5235e4690940af1b97f6f10 100644 (file)
@@ -889,7 +889,7 @@ template<typename Time>
 void
 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(), 
                                                       (int)note->note(), note->time(), (int)note->velocity()));
         assert(note->note() <= 127);
@@ -925,7 +925,7 @@ Sequence<Time>::append_note_off_unlocked (NotePtr note)
                         nn->set_off_velocity (note->velocity());
 
                         _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;
                         break;
                 }