void map_solo_model ();
void map_monitor_model ();
void map_denormal_model ();
+ void map_denormal_protection ();
void map_remote_model ();
void map_file_header_format ();
void map_file_data_format ();
}
}
+void
+ARDOUR_UI::map_denormal_protection ()
+{
+ Glib::RefPtr<Action> act = ActionManager::get_action ("options", X_("DenormalProtection"));
+ if (act) {
+ Glib::RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::cast_dynamic(act);
+
+ if (tact && !tact->get_active()) {
+ tact->set_active (Config->get_denormal_protection());
+ }
+ }
+}
+
void
ARDOUR_UI::map_denormal_model ()
{
map_monitor_model ();
} else if (PARAM_IS ("denormal-model")) {
map_denormal_model ();
+ } else if (PARAM_IS ("denormal-protection")) {
+ map_denormal_protection ();
} else if (PARAM_IS ("remote-model")) {
map_remote_model ();
} else if (PARAM_IS ("use-video-sync")) {