remove LTC port parameter, since it's no longer a thing.
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 4 Oct 2018 14:17:40 +0000 (10:17 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 4 Oct 2018 14:17:40 +0000 (10:17 -0400)
This commit does not remove this concept from the libs/ardour/engine_state_controller code,
which is used exclusively by Waves Track Live (to the extent that this can be said to
be "used").

gtk2_ardour/rc_option_editor.cc
libs/ardour/ardour/rc_configuration_vars.h

index c8b71751bf30b02946d768d69d56481aadb6191a..28a560879066c1a25140174402561c10a84ecd9a 100644 (file)
@@ -3229,22 +3229,6 @@ RCOptionEditor::RCOptionEditor ()
 
        add_option (_("Sync"), _sync_framerate);
 
-       add_option (_("Sync/LTC"), new OptionEditorHeading (_("Linear Timecode (LTC) Reader")));
-
-       _ltc_port = new ComboStringOption (
-               "ltc-source-port",
-               _("LTC incoming port"),
-               sigc::mem_fun (*_rc_config, &RCConfiguration::get_ltc_source_port),
-               sigc::mem_fun (*_rc_config, &RCConfiguration::set_ltc_source_port)
-               );
-
-       vector<string> physical_inputs;
-       physical_inputs.push_back (_("None"));
-       AudioEngine::instance()->get_physical_inputs (DataType::AUDIO, physical_inputs);
-       _ltc_port->set_popdown_strings (physical_inputs);
-
-       add_option (_("Sync/LTC"), _ltc_port);
-
        add_option (_("Sync/LTC"), new OptionEditorHeading (_("Linear Timecode (LTC) Generator")));
 
        add_option (_("Sync/LTC"),
index 7ffc8879e2466003dd8349253797a17389685c2c..d80684454707729991e9233e3ada6c820c4f19bb 100644 (file)
@@ -77,7 +77,6 @@ CONFIG_VARIABLE (SyncSource, sync_source, "sync-source", MTC)
 #else
 CONFIG_VARIABLE (SyncSource, sync_source, "sync-source", Engine)
 #endif
-CONFIG_VARIABLE (std::string, ltc_source_port, "ltc-source-port", "system:capture_1")
 CONFIG_VARIABLE (bool, send_ltc, "send-ltc", false)
 CONFIG_VARIABLE (bool, ltc_send_continuously, "ltc-send-continuously", true)
 CONFIG_VARIABLE (std::string, ltc_output_port, "ltc-output-port", "")