summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/mcp_buttons.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-01-31 17:48:49 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2017-01-31 17:48:49 +0100
commit58c1ff368c0326902a12a179c750e340d5c89e33 (patch)
tree770fd0abadc148763deb54bf77383631883ea56c /libs/surfaces/mackie/mcp_buttons.cc
parent9dc2ef28be110eddeb28f644a27d47153d06eac4 (diff)
mackie: more debug tracing
Diffstat (limited to 'libs/surfaces/mackie/mcp_buttons.cc')
-rw-r--r--libs/surfaces/mackie/mcp_buttons.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/mcp_buttons.cc b/libs/surfaces/mackie/mcp_buttons.cc
index dcbaa5c34b..435c1b91b3 100644
--- a/libs/surfaces/mackie/mcp_buttons.cc
+++ b/libs/surfaces/mackie/mcp_buttons.cc
@@ -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;