diff options
Diffstat (limited to 'libs/surfaces/tranzport/general.cc')
-rw-r--r-- | libs/surfaces/tranzport/general.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/surfaces/tranzport/general.cc b/libs/surfaces/tranzport/general.cc index 2b39aaa2d7..f92d6997be 100644 --- a/libs/surfaces/tranzport/general.cc +++ b/libs/surfaces/tranzport/general.cc @@ -181,7 +181,7 @@ TranzportControlProtocol::update_state () void TranzportControlProtocol::prev_marker () { - Location *location = session->locations()->first_location_before (session->transport_frame()); + Location *location = session->locations()->first_location_before (session->transport_sample()); if (location) { session->request_locate (location->start(), session->transport_rolling()); @@ -196,13 +196,13 @@ TranzportControlProtocol::prev_marker () void TranzportControlProtocol::next_marker () { - Location *location = session->locations()->first_location_after (session->transport_frame()); + Location *location = session->locations()->first_location_after (session->transport_sample()); if (location) { session->request_locate (location->start(), session->transport_rolling()); notify(location->name().c_str()); } else { - session->request_locate (session->current_end_frame()); + session->request_locate (session->current_end_sample()); notify("END "); } } |