From: Paul Davis Date: Thu, 4 Oct 2018 14:17:40 +0000 (-0400) Subject: remove LTC port parameter, since it's no longer a thing. X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=e6aeb9d6e8f4029fe517f88e0f7135f90ed2b048;p=ardour.git remove LTC port parameter, since it's no longer a thing. 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"). --- diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index c8b71751bf..28a5608790 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -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 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"), diff --git a/libs/ardour/ardour/rc_configuration_vars.h b/libs/ardour/ardour/rc_configuration_vars.h index 7ffc8879e2..d806844547 100644 --- a/libs/ardour/ardour/rc_configuration_vars.h +++ b/libs/ardour/ardour/rc_configuration_vars.h @@ -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", "")