diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-05-25 20:56:03 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-29 14:18:15 -0400 |
commit | 0f9cac978eff240c6290978986187334d576156c (patch) | |
tree | 8fa1ad1ff36b4d8808a9c9dd45b9159330dd4c7c /libs/ardour/session.cc | |
parent | e20242c242bac17548490ad3a234955ea5f2a09f (diff) |
(re)implement Yevgeny's LTC branch changes in the context of ardour-merge-from-tracks (just the libs/* section)
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index eb6e97cd0e..ef7bf5d200 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -191,7 +191,8 @@ Session::Session (AudioEngine &eng, , average_dir (0) , have_first_delta_accumulator (false) , _slave_state (Stopped) - , _mtc_active (false) + , _mtc_active (false) + , _ltc_active (false) , post_export_sync (false) , post_export_position (0) , _exporting (false) @@ -6132,6 +6133,11 @@ Session::reconnect_ltc_input () if (src != _("None") && !src.empty()) { _ltc_input->nth (0)->connect (src); } + + if ( ARDOUR::Profile->get_trx () ) { + // Tracks need this signal to update timecode_source_dropdown + MtcOrLtcInputPortChanged (); //emit signal + } } } @@ -6140,15 +6146,13 @@ Session::reconnect_ltc_output () { if (_ltc_output) { -#if 0 - string src = Config->get_ltc_sink_port(); + string src = Config->get_ltc_output_port(); _ltc_output->disconnect (this); if (src != _("None") && !src.empty()) { _ltc_output->nth (0)->connect (src); } -#endif } } |