summaryrefslogtreecommitdiff
path: root/libs/surfaces/frontier/tranzport
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces/frontier/tranzport')
-rw-r--r--libs/surfaces/frontier/tranzport/tranzport_control_protocol.cc7
-rw-r--r--libs/surfaces/frontier/tranzport/tranzport_control_protocol.h6
2 files changed, 6 insertions, 7 deletions
diff --git a/libs/surfaces/frontier/tranzport/tranzport_control_protocol.cc b/libs/surfaces/frontier/tranzport/tranzport_control_protocol.cc
index 1924a4df94..f6a8f4d4b7 100644
--- a/libs/surfaces/frontier/tranzport/tranzport_control_protocol.cc
+++ b/libs/surfaces/frontier/tranzport/tranzport_control_protocol.cc
@@ -555,7 +555,7 @@ TranzportControlProtocol::show_meter ()
}
void
-TranzportControlProtocol::show_bbt (nframes_t where)
+TranzportControlProtocol::show_bbt (framepos_t where)
{
if ((where != last_where) || lcd_isdamaged(1,9,8)) {
char buf[16];
@@ -591,12 +591,11 @@ TranzportControlProtocol::show_bbt (nframes_t where)
void
TranzportControlProtocol::show_transport_time ()
{
- nframes_t where = session->transport_frame();
- show_bbt(where);
+ show_bbt (session->transport_frame ());
}
void
-TranzportControlProtocol::show_smpte (nframes_t where)
+TranzportControlProtocol::show_smpte (framepos_t where)
{
if ((where != last_where) || lcd_isdamaged(1,9,10)) {
diff --git a/libs/surfaces/frontier/tranzport/tranzport_control_protocol.h b/libs/surfaces/frontier/tranzport/tranzport_control_protocol.h
index 4e37da9916..0c7f600e2c 100644
--- a/libs/surfaces/frontier/tranzport/tranzport_control_protocol.h
+++ b/libs/surfaces/frontier/tranzport/tranzport_control_protocol.h
@@ -151,7 +151,7 @@ class TranzportControlProtocol : public ARDOUR::ControlProtocol
uint32_t last_mins;
uint32_t last_secs;
uint32_t last_frames;
- nframes_t last_where;
+ framepos_t last_where;
ARDOUR::gain_t last_track_gain;
uint32_t last_meter_fill;
struct timeval last_wheel_motion;
@@ -246,8 +246,8 @@ class TranzportControlProtocol : public ARDOUR::ControlProtocol
void show_current_track ();
void show_track_gain ();
void show_transport_time ();
- void show_bbt (nframes_t where);
- void show_smpte (nframes_t where);
+ void show_bbt (framepos_t where);
+ void show_smpte (framepos_t where);
void show_wheel_mode ();
void show_gain ();
void show_pan ();