X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fsurfaces%2Fcontrol_protocol%2Fbasic_ui.cc;h=3dc93cc64ad980070886d6215a613b25a5288260;hb=7ff370e79895d7eb293e7214689b791bd98415fb;hp=8cf157c26c7c698a205108d4b36ea434bdf40fa8;hpb=fd742b30fa1071c44d053cf4676149641f977a35;p=ardour.git diff --git a/libs/surfaces/control_protocol/basic_ui.cc b/libs/surfaces/control_protocol/basic_ui.cc index 8cf157c26c..3dc93cc64a 100644 --- a/libs/surfaces/control_protocol/basic_ui.cc +++ b/libs/surfaces/control_protocol/basic_ui.cc @@ -24,7 +24,8 @@ #include #include -#include "basic_ui.h" +#include + #include "i18n.h" using namespace ARDOUR; @@ -263,19 +264,19 @@ BasicUI::smpte_frames_per_hour () } void -BasicUI::smpte_time (jack_nframes_t where, SMPTE_t& smpte) +BasicUI::smpte_time (jack_nframes_t where, SMPTE::Time& smpte) { - session->smpte_time (where, *((SMPTE_Time *) &smpte)); + session->smpte_time (where, *((SMPTE::Time *) &smpte)); } void -BasicUI::smpte_to_sample (SMPTE_t& smpte, jack_nframes_t& sample, bool use_offset, bool use_subframes) const +BasicUI::smpte_to_sample (SMPTE::Time& smpte, jack_nframes_t& sample, bool use_offset, bool use_subframes) const { - session->smpte_to_sample (*((SMPTE_Time*)&smpte), sample, use_offset, use_subframes); + session->smpte_to_sample (*((SMPTE::Time*)&smpte), sample, use_offset, use_subframes); } void -BasicUI::sample_to_smpte (jack_nframes_t sample, SMPTE_t& smpte, bool use_offset, bool use_subframes) const +BasicUI::sample_to_smpte (jack_nframes_t sample, SMPTE::Time& smpte, bool use_offset, bool use_subframes) const { - session->sample_to_smpte (sample, *((SMPTE_Time*)&smpte), use_offset, use_subframes); + session->sample_to_smpte (sample, *((SMPTE::Time*)&smpte), use_offset, use_subframes); }