remove destructive/tape mode tracks

This commit is contained in:
Paul Davis 2020-02-25 21:35:07 -07:00
parent e89b0cfd27
commit a4d7b45fe0
53 changed files with 114 additions and 1152 deletions

View file

@ -105,7 +105,6 @@ AddRouteDialog::AddRouteDialog ()
"* " + _("A group which the track(s) will be assigned to") + "\n" +
#ifndef MIXBUS
"* " + _("The pin connections mode (see tooltip for details)") + "\n" +
"* " + _("Normal (non-destructive) or tape (destructive) recording mode") + "\n" +
#endif
"\n" + _("The track(s) will be added at the location specified by \"Position\"")
));
@ -135,7 +134,6 @@ AddRouteDialog::AddRouteDialog ()
"* " + _("A group which the track(s) will be assigned to") + "\n" +
#ifndef MIXBUS
"* " + _("The pin connections mode (see tooltip for details)") + "\n" +
"* " + _("Normal (non-destructive) or tape (destructive) recording mode") + "\n" +
#endif
"\n" + _("The track(s) will be added at the location specified by \"Position\"")
));
@ -449,11 +447,6 @@ AddRouteDialog::trk_template_row_selected ()
case ARDOUR::Normal:
mode_combo.set_active_text (_("Normal"));
break;
case ARDOUR::Destructive:
if (!ARDOUR::Profile->get_mixbus ()) {
mode_combo.set_active_text (_("Tape"));
}
break;
default: // "NonLayered" enum is still present for session-format compat
break;
}
@ -820,10 +813,6 @@ AddRouteDialog::refill_track_modes ()
vector<string> s;
s.push_back (_("Normal"));
if (!ARDOUR::Profile->get_mixbus ()) {
s.push_back (_("Tape"));
}
set_popdown_strings (mode_combo, s);
mode_combo.set_active_text (s.front());
}
@ -836,8 +825,6 @@ AddRouteDialog::mode ()
return ARDOUR::Normal;
} else if (str == _("Non Layered")){
return ARDOUR::NonLayered;
} else if (str == _("Tape")) {
return ARDOUR::Destructive;
} else {
fatal << string_compose (X_("programming error: unknown track mode in add route dialog combo = %1"), str)
<< endmsg;