summaryrefslogtreecommitdiff
path: root/libs/surfaces/tranzport
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces/tranzport')
-rw-r--r--libs/surfaces/tranzport/show.cc18
-rw-r--r--libs/surfaces/tranzport/tranzport_control_protocol.h2
2 files changed, 10 insertions, 10 deletions
diff --git a/libs/surfaces/tranzport/show.cc b/libs/surfaces/tranzport/show.cc
index 30f4de3b57..2df6191ead 100644
--- a/libs/surfaces/tranzport/show.cc
+++ b/libs/surfaces/tranzport/show.cc
@@ -353,29 +353,29 @@ TranzportControlProtocol::show_transport_time ()
}
void
-TranzportControlProtocol::show_smpte (nframes_t where)
+TranzportControlProtocol::show_timecode (nframes_t where)
{
if ((where != last_where) || lcd_isdamaged(1,9,10)) {
char buf[5];
- SMPTE::Time smpte;
+ Timecode::Time timecode;
- session->smpte_time (where, smpte);
+ session->timecode_time (where, timecode);
- if (smpte.negative) {
- sprintf (buf, "-%02" PRIu32 ":", smpte.hours);
+ if (timecode.negative) {
+ sprintf (buf, "-%02" PRIu32 ":", timecode.hours);
} else {
- sprintf (buf, " %02" PRIu32 ":", smpte.hours);
+ sprintf (buf, " %02" PRIu32 ":", timecode.hours);
}
print (1, 8, buf);
- sprintf (buf, "%02" PRIu32 ":", smpte.minutes);
+ sprintf (buf, "%02" PRIu32 ":", timecode.minutes);
print (1, 12, buf);
- sprintf (buf, "%02" PRIu32 ":", smpte.seconds);
+ sprintf (buf, "%02" PRIu32 ":", timecode.seconds);
print (1, 15, buf);
- sprintf (buf, "%02" PRIu32, smpte.frames);
+ sprintf (buf, "%02" PRIu32, timecode.frames);
print_noretry (1, 18, buf);
last_where = where;
diff --git a/libs/surfaces/tranzport/tranzport_control_protocol.h b/libs/surfaces/tranzport/tranzport_control_protocol.h
index 929cca3e2b..6d231dd778 100644
--- a/libs/surfaces/tranzport/tranzport_control_protocol.h
+++ b/libs/surfaces/tranzport/tranzport_control_protocol.h
@@ -308,7 +308,7 @@ private:
void show_track_gain ();
void show_transport_time ();
void show_bbt (nframes_t where);
- void show_smpte (nframes_t where);
+ void show_timecode (nframes_t where);
void show_wheel_mode ();
void show_gain ();
void show_pan ();