change the use of "SMPTE" to "Timecode" to reflect the global economy and the end of american dominance on the world audio production stage

git-svn-id: svn://localhost/ardour2/branches/3.0@5924 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2009-10-26 14:38:58 +00:00
parent 5dd8dc0db3
commit fa5aeb7892
52 changed files with 1231 additions and 1216 deletions

View 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);
}