[Summary] Disabled LTC item in timecode source drop down. Made MTC as a default external timecode source.

This commit is contained in:
GZharun 2014-11-12 11:21:19 +02:00
parent b159333de5
commit deeb2a17ef
2 changed files with 14 additions and 6 deletions

View file

@ -154,7 +154,9 @@ ARDOUR_UI::populate_timecode_source_dropdown ()
timecode_source.clear();
timecode_source.push_back("Internal");
timecode_source.push_back("MTC");
timecode_source.push_back("LTC");
// GZ: Is Not available in current Waves TracksLive version
//timecode_source.push_back("LTC");
for(int i = 0; i < timecode_source.size(); ++i)
{
@ -170,10 +172,14 @@ ARDOUR_UI::populate_timecode_source_dropdown ()
{
if ( Config->get_sync_source() == MTC )
_timecode_source_dropdown->set_text (timecode_source[1]);//"MTC"
// GZ: LTC is not available in current version of Waves TracksLive
/*
else
_timecode_source_dropdown->set_text (timecode_source[2]);//"LTC"
} else
{
*/
} else {
_timecode_source_dropdown->set_text (timecode_source[0]);//Internal
}
}
@ -216,11 +222,13 @@ ARDOUR_UI::on_timecode_source_dropdown_item_clicked (WavesDropdown* dropdown, in
{
Config->set_sync_source (MTC);
_session->config.set_external_sync (true);
} else if ( timecode_source == "LTC" )
}
// GZ: LTC is not available in current version of Waves TracksLive
/* else if ( timecode_source == "LTC" )
{
Config->set_sync_source (LTC);
_session->config.set_external_sync (true);
}
} */
}
void

View file

@ -57,7 +57,7 @@ CONFIG_VARIABLE (int, mtc_qf_speed_tolerance, "mtc-qf-speed-tolerance", 5)
CONFIG_VARIABLE (bool, timecode_sync_frame_rate, "timecode-sync-frame-rate", true)
CONFIG_VARIABLE (bool, timecode_source_is_synced, "timecode-source-is-synced", true)
CONFIG_VARIABLE (bool, timecode_source_2997, "timecode-source-2997", false)
CONFIG_VARIABLE (SyncSource, sync_source, "sync-source", Engine)
CONFIG_VARIABLE (SyncSource, sync_source, "sync-source", MTC)
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)