summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_timespan_selector.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-10-26 14:38:58 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-10-26 14:38:58 +0000
commitfa5aeb7892fb73d45782b42da731bc5a51418e79 (patch)
treef537bf657cf098076511b47e6f2d6d19203696ec /gtk2_ardour/export_timespan_selector.cc
parent5dd8dc0db35bc851bcdcc9ff5212c4344eafb933 (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 'gtk2_ardour/export_timespan_selector.cc')
-rw-r--r--gtk2_ardour/export_timespan_selector.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk2_ardour/export_timespan_selector.cc b/gtk2_ardour/export_timespan_selector.cc
index b11169b214..30515d45fd 100644
--- a/gtk2_ardour/export_timespan_selector.cc
+++ b/gtk2_ardour/export_timespan_selector.cc
@@ -67,7 +67,7 @@ ExportTimespanSelector::ExportTimespanSelector (ARDOUR::Session * session, Profi
iter = time_format_list->append();
row = *iter;
- row[time_format_cols.format] = ExportProfileManager::SMPTE;
+ row[time_format_cols.format] = ExportProfileManager::Timecode;
row[time_format_cols.label] = X_("Timecode");
iter = time_format_list->append();
@@ -163,9 +163,9 @@ ExportTimespanSelector::construct_label (ARDOUR::Location const * location) cons
end = bbt_str (end_frame);
break;
- case AudioClock::SMPTE:
- start = smpte_str (start_frame);
- end = smpte_str (end_frame);
+ case AudioClock::Timecode:
+ start = timecode_str (start_frame);
+ end = timecode_str (end_frame);
break;
case AudioClock::MinSec:
@@ -222,16 +222,16 @@ ExportTimespanSelector::bbt_str (nframes_t frames) const
}
Glib::ustring
-ExportTimespanSelector::smpte_str (nframes_t frames) const
+ExportTimespanSelector::timecode_str (nframes_t frames) const
{
if (!session) {
return "Error!";
}
std::ostringstream oss;
- SMPTE::Time time;
+ Timecode::Time time;
- session->smpte_time (frames, time);
+ session->timecode_time (frames, time);
oss << std::setfill('0') << std::right <<
std::setw(2) <<