diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-26 14:38:58 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-26 14:38:58 +0000 |
commit | fa5aeb7892fb73d45782b42da731bc5a51418e79 (patch) | |
tree | f537bf657cf098076511b47e6f2d6d19203696ec /libs/ardour/location_importer.cc | |
parent | 5dd8dc0db35bc851bcdcc9ff5212c4344eafb933 (diff) |
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
Diffstat (limited to 'libs/ardour/location_importer.cc')
-rw-r--r-- | libs/ardour/location_importer.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/location_importer.cc b/libs/ardour/location_importer.cc index fd74e802a7..6fb9f7b7db 100644 --- a/libs/ardour/location_importer.cc +++ b/libs/ardour/location_importer.cc @@ -105,7 +105,7 @@ string LocationImporter::get_info () const { nframes_t start, end; - SMPTE::Time start_time, end_time; + Timecode::Time start_time, end_time; // Get sample positions std::istringstream iss_start (xml_location.property ("start")->value()); @@ -113,17 +113,17 @@ LocationImporter::get_info () const std::istringstream iss_end (xml_location.property ("end")->value()); iss_end >> end; - // Convert to smpte - session.sample_to_smpte (start, start_time, true, false); - session.sample_to_smpte (end, end_time, true, false); + // Convert to timecode + session.sample_to_timecode (start, start_time, true, false); + session.sample_to_timecode (end, end_time, true, false); // return info std::ostringstream oss; if (start == end) { - oss << _("Location: ") << smpte_to_string (start_time); + oss << _("Location: ") << timecode_to_string (start_time); } else { - oss << _("Range\nstart: ") << smpte_to_string (start_time) << - _("\nend: ") << smpte_to_string (end_time); + oss << _("Range\nstart: ") << timecode_to_string (start_time) << + _("\nend: ") << timecode_to_string (end_time); } return oss.str(); |