change the use of "SMPTE" to "Timecode" to reflect the global economy and the end...
[ardour.git] / libs / surfaces / control_protocol / basic_ui.cc
index 2eda08acf71fa03ff78f41f04c2dc7edcb19f127..c0ead577d72630054992fe21f807935803538875 100644 (file)
@@ -270,25 +270,25 @@ BasicUI::locked ()
 }
 
 nframes_t
-BasicUI::smpte_frames_per_hour ()
+BasicUI::timecode_frames_per_hour ()
 {
-       return session->smpte_frames_per_hour ();
+       return session->timecode_frames_per_hour ();
 }
 
 void
-BasicUI::smpte_time (nframes_t where, SMPTE::Time& smpte)
+BasicUI::timecode_time (nframes_t where, Timecode::Time& timecode)
 {
-       session->smpte_time (where, *((SMPTE::Time *) &smpte));
+       session->timecode_time (where, *((Timecode::Time *) &timecode));
 }
 
 void 
-BasicUI::smpte_to_sample (SMPTE::Time& smpte, nframes_t& sample, bool use_offset, bool use_subframes) const
+BasicUI::timecode_to_sample (Timecode::Time& timecode, nframes_t& sample, bool use_offset, bool use_subframes) const
 {
-       session->smpte_to_sample (*((SMPTE::Time*)&smpte), sample, use_offset, use_subframes);
+       session->timecode_to_sample (*((Timecode::Time*)&timecode), sample, use_offset, use_subframes);
 }
 
 void 
-BasicUI::sample_to_smpte (nframes_t sample, SMPTE::Time& smpte, bool use_offset, bool use_subframes) const
+BasicUI::sample_to_timecode (nframes_t sample, Timecode::Time& timecode, bool use_offset, bool use_subframes) const
 {
-       session->sample_to_smpte (sample, *((SMPTE::Time*)&smpte), use_offset, use_subframes);
+       session->sample_to_timecode (sample, *((Timecode::Time*)&timecode), use_offset, use_subframes);
 }