summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_port.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-09-30 22:44:44 +0200
committerRobin Gareus <robin@gareus.org>2017-09-30 22:44:44 +0200
commit97c637e39914a8b68f1d0c83d3f8c37d81fc43c2 (patch)
treebe0429a2be4a67f0ad34ece31cff297a248bbedd /libs/ardour/midi_port.cc
parent37eb68e817830db1f2fae4bb3c9beecc5348e74f (diff)
MIDI debugging.
Diffstat (limited to 'libs/ardour/midi_port.cc')
-rw-r--r--libs/ardour/midi_port.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/midi_port.cc b/libs/ardour/midi_port.cc
index 4a6cc3a3af..a6553b7fb6 100644
--- a/libs/ardour/midi_port.cc
+++ b/libs/ardour/midi_port.cc
@@ -143,7 +143,11 @@ MidiPort::get_midi_buffer (pframes_t nframes)
(timestamp >= (_global_port_buffer_offset + _port_buffer_offset + nframes))) {
cerr << "Dropping incoming MIDI at time " << timestamp << "; offset="
<< _global_port_buffer_offset << " limit="
- << (_global_port_buffer_offset + _port_buffer_offset + nframes) << "\n";
+ << (_global_port_buffer_offset + _port_buffer_offset + nframes)
+ << " = (" << _global_port_buffer_offset
+ << " + " << _port_buffer_offset
+ << " + " << nframes
+ << ")\n";
continue;
}