diff options
-rw-r--r-- | libs/ardour/midi_source.cc | 5 | ||||
-rw-r--r-- | libs/evoral/src/Sequence.cpp | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/libs/ardour/midi_source.cc b/libs/ardour/midi_source.cc index 1093cb2c4b..bddb392221 100644 --- a/libs/ardour/midi_source.cc +++ b/libs/ardour/midi_source.cc @@ -241,6 +241,8 @@ MidiSource::midi_read (Evoral::EventSink<framepos_t>& dst, framepos_t source_sta } } } else { + DEBUG_TRACE (DEBUG::MidiSourceIO, string_compose ("%1: reached end with event @ %2 vs. %3\n", + _name, time_frames, start+cnt)); break; } } @@ -258,7 +260,7 @@ framecnt_t MidiSource::midi_write (MidiRingBuffer<framepos_t>& source, framepos_t source_start, framecnt_t duration) { Glib::Mutex::Lock lm (_lock); - cerr << "MidiSource calling write unlocked\n"; + const framecnt_t ret = write_unlocked (source, source_start, duration); if (duration == max_framecnt) { @@ -267,7 +269,6 @@ MidiSource::midi_write (MidiRingBuffer<framepos_t>& source, framepos_t source_st _last_write_end += duration; } - cerr << name() << " last write end now @ " << _last_write_end << endl; return ret; } diff --git a/libs/evoral/src/Sequence.cpp b/libs/evoral/src/Sequence.cpp index be3c7ec121..1001898a7c 100644 --- a/libs/evoral/src/Sequence.cpp +++ b/libs/evoral/src/Sequence.cpp @@ -682,7 +682,7 @@ Sequence<Time>::add_note_unlocked(const NotePtr note, void* arg) /* This is the core method to add notes to a Sequence */ - DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1 add note %2 @ %3\n", this, (int)note->note(), note->time())); + DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1 add note %2 @ %3 dur %4\n", this, (int)note->note(), note->time(), note->length())); if (resolve_overlaps_unlocked (note, arg)) { DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1 DISALLOWED: note %2 @ %3\n", this, (int)note->note(), note->time())); |