mackie: more debug tracing
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 Jan 2017 16:48:49 +0000 (17:48 +0100)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 Jan 2017 16:48:49 +0000 (17:48 +0100)
libs/surfaces/mackie/mackie_control_protocol.cc
libs/surfaces/mackie/mcp_buttons.cc

index a2636f070cfb47350ba4c941641270ecba289386..f57d3a7e8cd87390fd0b1ffcacfd24a369a23edf 100644 (file)
@@ -1598,7 +1598,7 @@ MackieControlProtocol::handle_button_event (Surface& surface, Button& button, Bu
 
        /* lookup using the device-INDEPENDENT button ID */
 
-       DEBUG_TRACE (DEBUG::MackieControl, string_compose ("now looking up button ID %1", button_id));
+       DEBUG_TRACE (DEBUG::MackieControl, string_compose ("now looking up button ID %1\n", button_id));
 
        ButtonMap::iterator b = button_map.find (button_id);
 
index dcbaa5c34bc94b00613d024ca28009fb82aa6836..435c1b91b39e85f378d1b63dab5a7ebf567c2325 100644 (file)
@@ -462,10 +462,12 @@ MackieControlProtocol::marker_release (Button &)
        framepos_t where = session->audible_frame();
 
        if (session->transport_stopped() && session->locations()->mark_at (where, session->frame_rate() / 100.0)) {
+               DEBUG_TRACE (DEBUG::MackieControl, "transport stopped, marker already exists\n");
                return off;
        }
 
        session->locations()->next_available_name (markername,"marker");
+       DEBUG_TRACE (DEBUG::MackieControl, string_compose ("adding marker called %1\n", markername));
        add_marker (markername);
 
        return off;