13
0

mackie: more debug tracing

This commit is contained in:
Paul Davis 2017-01-31 17:48:49 +01:00
parent 9dc2ef28be
commit 58c1ff368c
2 changed files with 3 additions and 1 deletions

View 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);

View 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;