From 94f8b7b8f2a708063529785c77d1a123ea0f0d7c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 17 Oct 2016 19:47:39 -0400 Subject: Clean up MIDI debugging output --- libs/ardour/midi_ring_buffer.cc | 2 +- libs/ardour/midi_source.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/midi_ring_buffer.cc b/libs/ardour/midi_ring_buffer.cc index d8479988d5..187de574b6 100644 --- a/libs/ardour/midi_ring_buffer.cc +++ b/libs/ardour/midi_ring_buffer.cc @@ -105,7 +105,7 @@ MidiRingBuffer::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"); diff --git a/libs/ardour/midi_source.cc b/libs/ardour/midi_source.cc index ac2a3c410e..a770a2c290 100644 --- a/libs/ardour/midi_source.cc +++ b/libs/ardour/midi_source.cc @@ -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) { -- cgit v1.2.3