Clean up MIDI debugging output
This commit is contained in:
parent
69cbcb84a6
commit
94f8b7b8f2
|
@ -105,7 +105,7 @@ MidiRingBuffer<T>::read (MidiBuffer& dst, framepos_t start, framepos_t end, fram
|
|||
#ifndef NDEBUG
|
||||
if (DEBUG_ENABLED (DEBUG::MidiRingBuffer)) {
|
||||
DEBUG_STR_DECL(a);
|
||||
DEBUG_STR_APPEND(a, string_compose ("wrote MidiEvent to Buffer (time=%1, start=%2 offset=%3)", ev_time, start, offset));
|
||||
DEBUG_STR_APPEND(a, string_compose ("wrote MidiEvent to Buffer (time=%1, start=%2 offset=%3) ", ev_time, start, offset));
|
||||
for (size_t i=0; i < ev_size; ++i) {
|
||||
DEBUG_STR_APPEND(a,hex);
|
||||
DEBUG_STR_APPEND(a,"0x");
|
||||
|
|
|
@ -310,7 +310,7 @@ MidiSource::midi_read (const Lock& lm,
|
|||
#ifndef NDEBUG
|
||||
if (DEBUG_ENABLED(DEBUG::MidiSourceIO)) {
|
||||
DEBUG_STR_DECL(a);
|
||||
DEBUG_STR_APPEND(a, string_compose ("%1 added event @ %2 sz %3 within %4 .. %5\n",
|
||||
DEBUG_STR_APPEND(a, string_compose ("%1 added event @ %2 sz %3 within %4 .. %5 ",
|
||||
_name, time_frames, i->size(),
|
||||
start + source_start, start + cnt + source_start));
|
||||
for (size_t n=0; n < i->size(); ++n) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user