mackie: more debug tracing
This commit is contained in:
parent
9dc2ef28be
commit
58c1ff368c
@ -1598,7 +1598,7 @@ MackieControlProtocol::handle_button_event (Surface& surface, Button& button, Bu
|
|||||||
|
|
||||||
/* lookup using the device-INDEPENDENT button ID */
|
/* 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);
|
ButtonMap::iterator b = button_map.find (button_id);
|
||||||
|
|
||||||
|
@ -462,10 +462,12 @@ MackieControlProtocol::marker_release (Button &)
|
|||||||
framepos_t where = session->audible_frame();
|
framepos_t where = session->audible_frame();
|
||||||
|
|
||||||
if (session->transport_stopped() && session->locations()->mark_at (where, session->frame_rate() / 100.0)) {
|
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;
|
return off;
|
||||||
}
|
}
|
||||||
|
|
||||||
session->locations()->next_available_name (markername,"marker");
|
session->locations()->next_available_name (markername,"marker");
|
||||||
|
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("adding marker called %1\n", markername));
|
||||||
add_marker (markername);
|
add_marker (markername);
|
||||||
|
|
||||||
return off;
|
return off;
|
||||||
|
Loading…
Reference in New Issue
Block a user