diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-01-17 16:35:28 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-01-18 08:49:18 -0700 |
commit | 47767738b9aee165a03f09f8ba222179bb73aeb6 (patch) | |
tree | e4a6c3fbfc31c18fa430be8c7deb125377cecf75 /libs/surfaces/contourdesign | |
parent | 3c00048b0c0dbf3efd17cf04fdc7daa91424e338 (diff) |
rename DoTheRightThing to RollIfAppropriate
Diffstat (limited to 'libs/surfaces/contourdesign')
-rw-r--r-- | libs/surfaces/contourdesign/contourdesign.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/surfaces/contourdesign/contourdesign.cc b/libs/surfaces/contourdesign/contourdesign.cc index 0ddf9c5945..cceb605104 100644 --- a/libs/surfaces/contourdesign/contourdesign.cc +++ b/libs/surfaces/contourdesign/contourdesign.cc @@ -557,7 +557,7 @@ ContourDesignControlProtocol::prev_marker_keep_rolling () samplepos_t pos = session->locations()->first_mark_before (session->transport_sample()); if (pos >= 0) { - session->request_locate (pos, DoTheRightThing); + session->request_locate (pos, RollIfAppropriate); } else { session->goto_start (); } @@ -569,7 +569,7 @@ ContourDesignControlProtocol::next_marker_keep_rolling () samplepos_t pos = session->locations()->first_mark_after (session->transport_sample()); if (pos >= 0) { - session->request_locate (pos, DoTheRightThing); + session->request_locate (pos, RollIfAppropriate); } else { session->goto_end(); } @@ -592,7 +592,7 @@ ContourDesignControlProtocol::jog_event_forward () void ContourDesignControlProtocol::jump_forward (JumpDistance dist) { - LocateTransportDisposition kr = _keep_rolling ? DoTheRightThing : MustStop; + LocateTransportDisposition kr = _keep_rolling ? RollIfAppropriate : MustStop; switch (dist.unit) { case SECONDS: jump_by_seconds (dist.value, kr); break; case BEATS: jump_by_beats (dist.value, kr); break; |