From bd97450ef8bfa7acf152e8f0ab7675d32db176c7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 22 Oct 2014 17:04:12 -0400 Subject: error/debug output when dropping MIDI event due to timing now shows MIDI bytes --- libs/ardour/midi_port.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libs/ardour/midi_port.cc') 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; } } -- cgit v1.2.3