diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-10-15 15:57:35 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-10-15 15:57:35 +0000 |
commit | cb84e71caa6faa3694a9c1958d24a67d02839326 (patch) | |
tree | f1f2c2732c14af8e27d93ce19fb7ba1dd39e0047 /gtk2_ardour/rc_option_editor.cc | |
parent | 6ab663342df34cd5b9ceb27efda49ee65f5b6967 (diff) |
create and manage a new config parameter that defines where LTC originates (still some tweaks to be done here and there)
git-svn-id: svn://localhost/ardour2/branches/3.0@13280 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 6b59e8718e..c889962158 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -1068,8 +1068,23 @@ RCOptionEditor::RCOptionEditor () (_sync_genlock->tip_widget(), _("<b>When enabled</b> indicates that the selected external timecode source shares sync (Black & Burst, Wordclock, etc) with the audio interface")); + add_option (_("Transport"), _sync_genlock); + _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 (_("Transport"), _ltc_port); + parameter_changed ("sync-source"); /* EDITOR */ |