SuperCaliFragilisticHoraAdaequationis

git-svn-id: svn://localhost/ardour2/branches/3.0@14124 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Robin Gareus 2013-03-03 13:45:32 +00:00
parent 2884ac6346
commit f56913e424
4 changed files with 17 additions and 1 deletions

View File

@ -2009,7 +2009,11 @@ ARDOUR_UI::update_clocks ()
void
ARDOUR_UI::start_clocking ()
{
clock_signal_connection = RapidScreenUpdate.connect (sigc::mem_fun(*this, &ARDOUR_UI::update_clocks));
if (Config->get_super_rapid_clock_update()) {
clock_signal_connection = SuperRapidScreenUpdate.connect (sigc::mem_fun(*this, &ARDOUR_UI::update_clocks));
} else {
clock_signal_connection = RapidScreenUpdate.connect (sigc::mem_fun(*this, &ARDOUR_UI::update_clocks));
}
}
void

View File

@ -409,6 +409,9 @@ ARDOUR_UI::parameter_changed (std::string p)
secondary_clock->set_editable (true);
secondary_clock->set_widget_name ("secondary");
}
} else if (p == "super-rapid-clock-update") {
stop_clocking ();
start_clocking ();
}
}

View File

@ -1741,6 +1741,14 @@ RCOptionEditor::RCOptionEditor ()
sigc::mem_fun (*_rc_config, &RCConfiguration::set_use_plugin_own_gui)
));
add_option (S_("GUI"),
new BoolOption (
"super-rapid-clock-update",
_("update transport clock display every 40ms instead of every 100ms"),
sigc::mem_fun (*_rc_config, &RCConfiguration::get_super_rapid_clock_update),
sigc::mem_fun (*_rc_config, &RCConfiguration::set_super_rapid_clock_update)
));
/* The names of these controls must be the same as those given in MixerStrip
for the actual widgets being controlled.
*/

View File

@ -143,6 +143,7 @@ CONFIG_VARIABLE (bool, show_track_meters, "show-track-meters", true)
CONFIG_VARIABLE (bool, locate_while_waiting_for_sync, "locate-while-waiting-for-sync", false)
CONFIG_VARIABLE (bool, disable_disarm_during_roll, "disable-disarm-during-roll", false)
CONFIG_VARIABLE (bool, always_play_range, "always-play-range", false)
CONFIG_VARIABLE (bool, super_rapid_clock_update, "super-rapid-clock-update", false)
/* metering */