mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 14:45:43 +01:00
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:
parent
73ad115486
commit
3a14559a9a
2 changed files with 0 additions and 29 deletions
|
|
@ -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 ()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue