13
0

remove timecode subframe configuration

There is no actual use-case to set it to anything else than 100.
timecode subframes are only used for ruler marks and the snap to grid.
libtimecode is still /aware/ of the subframe setting.

git-svn-id: svn://localhost/ardour2/branches/3.0@13817 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Robin Gareus 2013-01-09 15:47:19 +00:00
parent f402a63a0e
commit 5da4e2be2d
4 changed files with 0 additions and 16 deletions

View File

@ -1447,8 +1447,6 @@ Editor::parameter_changed (std::string p)
update_region_fade_visibility (); update_region_fade_visibility ();
} else if (p == "edit-mode") { } else if (p == "edit-mode") {
edit_mode_selector.set_active_text (edit_mode_to_string (Config->get_edit_mode())); edit_mode_selector.set_active_text (edit_mode_to_string (Config->get_edit_mode()));
} else if (p == "subframes-per-frame") {
update_just_timecode ();
} else if (p == "show-track-meters") { } else if (p == "show-track-meters") {
toggle_meter_updating(); toggle_meter_updating();
} else if (p == "show-summary") { } else if (p == "show-summary") {

View File

@ -60,18 +60,6 @@ SessionOptionEditor::SessionOptionEditor (Session* s)
add_option (_("Timecode"), smf); add_option (_("Timecode"), smf);
ComboOption<uint32_t>* spf = new ComboOption<uint32_t> (
"subframes-per-frame",
_("Subframes per frame"),
sigc::mem_fun (*_session_config, &SessionConfiguration::get_subframes_per_frame),
sigc::mem_fun (*_session_config, &SessionConfiguration::set_subframes_per_frame)
);
spf->add (80, _("80"));
spf->add (100, _("100"));
add_option (_("Timecode"), spf);
_vpu = new ComboOption<float> ( _vpu = new ComboOption<float> (
"video-pullup", "video-pullup",
_("Pull-up / pull-down"), _("Pull-up / pull-down"),

View File

@ -95,7 +95,6 @@ void
LTC_Slave::parameter_changed (std::string const & p) LTC_Slave::parameter_changed (std::string const & p)
{ {
if (p == "slave-timecode-offset" if (p == "slave-timecode-offset"
|| p == "subframes-per-frame"
|| p == "timecode-format" || p == "timecode-format"
) { ) {
parse_timecode_offset(); parse_timecode_offset();

View File

@ -118,7 +118,6 @@ void
MTC_Slave::parameter_changed (std::string const & p) MTC_Slave::parameter_changed (std::string const & p)
{ {
if (p == "slave-timecode-offset" if (p == "slave-timecode-offset"
|| p == "subframes-per-frame"
|| p == "timecode-format" || p == "timecode-format"
) { ) {
parse_timecode_offset(); parse_timecode_offset();