summaryrefslogtreecommitdiff
path: root/libs/surfaces/tranzport/general.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-09-18 12:39:17 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-09-18 12:39:17 -0400
commit30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch)
tree620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /libs/surfaces/tranzport/general.cc
parentcb956e3e480716a3efd280a5287bdd7bee1cedc5 (diff)
globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
Diffstat (limited to 'libs/surfaces/tranzport/general.cc')
-rw-r--r--libs/surfaces/tranzport/general.cc6
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 ");
}
}