summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_port.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-10-22 17:04:12 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-10-22 17:07:11 -0400
commitbd97450ef8bfa7acf152e8f0ab7675d32db176c7 (patch)
tree6b8c237cadaed851322e0956cdbbf42394fced55 /libs/ardour/midi_port.cc
parentaafd1d77e9059564cdb8e7345883bc110b111486 (diff)
error/debug output when dropping MIDI event due to timing now shows MIDI bytes
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 97ef865f47..381441a8d6 100644
--- a/libs/ardour/midi_port.cc
+++ b/libs/ardour/midi_port.cc
@@ -207,7 +207,11 @@ MidiPort::flush_buffers (pframes_t nframes)
} else {
cerr << "drop flushed event on the floor, time " << ev.time()
<< " too early for " << _global_port_buffer_offset
- << " + " << _port_buffer_offset << endl;
+ << " + " << _port_buffer_offset;
+ for (int xx = 0; xx < ev.size(); ++xx) {
+ cerr << ' ' << hex << (int) ev.buffer()[xx];
+ }
+ cerr << dec << endl;
}
}