Remove dead code in ContourDesignControlProtocol

These were identical to SessionController::prev_marker() and
SessionController::next_marker(), but weren't actually used.
This commit is contained in:
David Robillard 2021-06-17 09:56:50 -04:00
parent 73ad115486
commit 3a14559a9a
2 changed files with 0 additions and 29 deletions

View file

@ -555,32 +555,6 @@ ContourDesignControlProtocol::handle_button_release (unsigned short btn)
}
}
void
ContourDesignControlProtocol::prev_marker_keep_rolling ()
{
samplepos_t pos = session->locations()->first_mark_before (session->transport_sample());
if (pos >= 0) {
session->request_locate (pos);
} else {
session->goto_start ();
}
}
void
ContourDesignControlProtocol::next_marker_keep_rolling ()
{
samplepos_t pos = session->locations()->first_mark_after (session->transport_sample());
if (pos >= 0) {
session->request_locate (pos);
} else {
session->goto_end();
}
}
void
ContourDesignControlProtocol::jog_event_backward ()
{

View file

@ -97,9 +97,6 @@ public:
static const int num_shuttle_speeds = 7;
void prev_marker_keep_rolling ();
void next_marker_keep_rolling ();
void jump_forward (JumpDistance dist);
void jump_backward (JumpDistance dist);