13
0

make debug message more useful

This commit is contained in:
Robin Gareus 2014-11-23 23:37:21 +01:00
parent 5aba4df252
commit 8ddeb712f6

View File

@ -205,7 +205,7 @@ MidiPort::flush_buffers (pframes_t nframes)
#ifndef NDEBUG
if (DEBUG::MidiIO & PBD::debug_bits) {
DEBUG_STR_DECL(a);
DEBUG_STR_APPEND(a, string_compose ("MidiPort %1 pop event @ %2 sz %3 ", this, ev.time(), ev.size()));
DEBUG_STR_APPEND(a, string_compose ("MidiPort %1 pop event @ %2 sz %3 ", _buffer, ev.time(), ev.size()));
for (size_t i=0; i < ev.size(); ++i) {
DEBUG_STR_APPEND(a,hex);
DEBUG_STR_APPEND(a,"0x");