summaryrefslogtreecommitdiff
path: root/gtk2_ardour/add_route_dialog.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-19 16:03:28 +0100
committerRobin Gareus <robin@gareus.org>2020-03-19 16:18:48 +0100
commit5f27382b882557c52a99e2924e875b5b43d6a7d4 (patch)
tree339f537036a0d41d8ded7db62b26d75dd8f9c581 /gtk2_ardour/add_route_dialog.cc
parente8776d39fed085ed1920724906b81c969fa24573 (diff)
Remove Audio+MIDI track, and consolidate route creation methods
Audio+MIDI tracks were just MIDI tracks with an additional audio input, and do not directly allow use of vocoders (an instrument is loaded by default). For pitch-correction or similar use-cases one would prefer an audio-track (main data) with MIDI only being used as control-input. Ardour 5/6 pin-connections and side-chain offer a much nicer workflow for this setup. Alternatively one can get those tracks-types by manually adding an input port to an existing track, and creating a custom template.
Diffstat (limited to 'gtk2_ardour/add_route_dialog.cc')
-rw-r--r--gtk2_ardour/add_route_dialog.cc54
1 files changed, 0 insertions, 54 deletions
diff --git a/gtk2_ardour/add_route_dialog.cc b/gtk2_ardour/add_route_dialog.cc
index 18f02885c2..090a14676e 100644
--- a/gtk2_ardour/add_route_dialog.cc
+++ b/gtk2_ardour/add_route_dialog.cc
@@ -123,22 +123,6 @@ AddRouteDialog::AddRouteDialog ()
"\n" + _("The track(s) will be added at the location specified by \"Position\"")
));
-#ifndef MIXBUS
- builtin_types.push_back (
- std::pair<string,string> (_("Audio+MIDI Tracks"), std::string () +
- _("Use these settings to create one or more Audio+MIDI tracks.") + "\n\n" +
- _("You may select:") + "\n" +
- "* " + _("The number of tracks to add") + "\n" +
- "* " + _("A name for the track(s)") + "\n" +
- "* " + _("An instrument plugin (or select \"None\" to drive an external device)") + "\n" +
- "* " + _("A group which the track(s) will be assigned to") + "\n" +
-#ifndef MIXBUS
- "* " + _("The pin connections mode (see tooltip for details)") + "\n" +
-#endif
- "\n" + _("The track(s) will be added at the location specified by \"Position\"")
- ));
-#endif
-
builtin_types.push_back (
std::pair<string,string> (_("Audio Busses"), std::string () +
_("Use these settings to create one or more audio busses.") + "\n\n" +
@@ -570,8 +554,6 @@ AddRouteDialog::type_wanted()
return MidiBus;
} else if (str == _("MIDI Tracks")){
return MidiTrack;
- } else if (str == _("Audio+MIDI Tracks")) {
- return MixedTrack;
} else if (str == _("Audio Tracks")) {
return AudioTrack;
} else if (str == _("VCA Masters")) {
@@ -598,9 +580,6 @@ AddRouteDialog::maybe_update_name_template_entry ()
case MidiTrack:
name_template_entry.set_text (_("MIDI"));
break;
- case MixedTrack:
- name_template_entry.set_text (_("Audio+MIDI"));
- break;
case AudioBus:
case MidiBus:
name_template_entry.set_text (_("Bus"));
@@ -662,33 +641,6 @@ AddRouteDialog::track_type_chosen ()
insert_at_combo.set_sensitive (true);
break;
- case MixedTrack:
- {
- ArdourMessageDialog msg (_("Audio+MIDI tracks are intended for use <b>ONLY</b> with plugins that use both audio and MIDI input data.\n\n"
- "Use a normal audio or MIDI track if you do not plan to use such a plugin."),
- true, MESSAGE_INFO, BUTTONS_OK, true);
- msg.run ();
- }
-
- configuration_label.set_sensitive (true);
- channel_combo.set_sensitive (true);
-
- mode_label.set_sensitive (true);
- mode_combo.set_sensitive (true);
-
- instrument_label.set_sensitive (true);
- instrument_combo.set_sensitive (true);
-
- group_label.set_sensitive (true);
- route_group_combo.set_sensitive (true);
-
- strict_io_label.set_sensitive (true);
- strict_io_combo.set_sensitive (true);
-
- insert_label.set_sensitive (true);
- insert_at_combo.set_sensitive (true);
-
- break;
case AudioBus:
configuration_label.set_sensitive (true);
@@ -791,7 +743,6 @@ AddRouteDialog::name_template_is_default () const
if (n == _("Audio") ||
n == _("MIDI") ||
- n == _("Audio+MIDI") ||
n == _("Bus") ||
n == _("Foldback") ||
n == VCA::default_name_template()) {
@@ -863,11 +814,6 @@ AddRouteDialog::channels ()
ret.set (DataType::MIDI, 1);
break;
- case MixedTrack:
- ret.set (DataType::AUDIO, channel_count ());
- ret.set (DataType::MIDI, 1);
- break;
-
case FoldbackBus:
ret.set (DataType::AUDIO, channel_count ());
ret.set (DataType::MIDI, 0);