Clean up MIDI debugging output
authorDavid Robillard <d@drobilla.net>
Mon, 17 Oct 2016 23:47:39 +0000 (19:47 -0400)
committerDavid Robillard <d@drobilla.net>
Tue, 18 Oct 2016 00:22:26 +0000 (20:22 -0400)
libs/ardour/midi_ring_buffer.cc
libs/ardour/midi_source.cc

index d8479988d5e805ca5f2f7a67ef68a1bf33ef28af..187de574b67577e6ecd6eaa8f4f88cca48f8e6d4 100644 (file)
@@ -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");
index ac2a3c410eced394072a041f03a13ea1c5e287eb..a770a2c2904f1026b558ca69e438709216a86de4 100644 (file)
@@ -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) {