diff options
author | Robin Gareus <robin@gareus.org> | 2017-11-22 20:36:58 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-11-22 20:36:58 +0100 |
commit | 84337d301842569e98bb01adb59077aa5572c926 (patch) | |
tree | 4993ebdf75e07d7de470e07b5f2ba8e4f2e2ec78 /gtk2_ardour/export_timespan_selector.cc | |
parent | 867460cd30d59934d8d04a59dbbc6ecd78643acf (diff) |
Fix switch statements in ExportTimespanSelector
Diffstat (limited to 'gtk2_ardour/export_timespan_selector.cc')
-rw-r--r-- | gtk2_ardour/export_timespan_selector.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/export_timespan_selector.cc b/gtk2_ardour/export_timespan_selector.cc index 56b6653ade..2127363383 100644 --- a/gtk2_ardour/export_timespan_selector.cc +++ b/gtk2_ardour/export_timespan_selector.cc @@ -225,22 +225,22 @@ ExportTimespanSelector::construct_label (ARDOUR::Location const * location) cons samplepos_t end_sample = location->end(); switch (state->time_format) { - case AudioClock::BBT: + case ExportProfileManager::BBT: start = bbt_str (start_sample); end = bbt_str (end_sample); break; - case AudioClock::Timecode: + case ExportProfileManager::Timecode: start = timecode_str (start_sample); end = timecode_str (end_sample); break; - case AudioClock::MinSec: + case ExportProfileManager::MinSec: start = ms_str (start_sample); end = ms_str (end_sample); break; - case AudioClock::Samples: + case ExportProfileManager::Samples: start = to_string (start_sample); end = to_string (end_sample); break; @@ -271,11 +271,11 @@ ExportTimespanSelector::construct_length (ARDOUR::Location const * location) con std::stringstream s; switch (state->time_format) { - case AudioClock::BBT: + case ExportProfileManager::BBT: s << bbt_str (location->length ()); break; - case AudioClock::Timecode: + case ExportProfileManager::Timecode: { Timecode::Time tc; _session->timecode_duration (location->length(), tc); @@ -283,11 +283,11 @@ ExportTimespanSelector::construct_length (ARDOUR::Location const * location) con break; } - case AudioClock::MinSec: + case ExportProfileManager::MinSec: s << ms_str (location->length ()); break; - case AudioClock::Samples: + case ExportProfileManager::Samples: s << location->length (); break; } |