diff options
author | Doug McLain <doug@nostar.net> | 2008-02-13 14:38:49 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2008-02-13 14:38:49 +0000 |
commit | b248526fe35a846af0f62985c18e62e3e8817f9c (patch) | |
tree | ce04389cc34fde7eba640aea5bb729dd850a788f /gtk2_ardour/ardour_ui_options.cc | |
parent | cc19e1ef9993ad6fafb4f7fd0028ebec6a1b7f0a (diff) |
add option to create xrun markers on the location markerbar
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3048 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index e1fbe42d83..f70fbe8744 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -466,6 +466,12 @@ ARDOUR_UI::toggle_StopRecordingOnXrun() } void +ARDOUR_UI::toggle_CreateXrunMarker() +{ + ActionManager::toggle_config_state ("options", "CreateXrunMarker", &Configuration::set_create_xrun_marker, &Configuration::get_create_xrun_marker); +} + +void ARDOUR_UI::toggle_sync_order_keys () { ActionManager::toggle_config_state ("options", "SyncEditorAndMixerTrackOrder", &Configuration::set_sync_all_route_ordering, &Configuration::get_sync_all_route_ordering); @@ -1047,6 +1053,8 @@ ARDOUR_UI::parameter_changed (const char* parameter_name) ActionManager::map_some_state ("options", "PeriodicSafetyBackups", &Configuration::get_periodic_safety_backups); } else if (PARAM_IS ("stop-recording-on-xrun")) { ActionManager::map_some_state ("options", "StopRecordingOnXrun", &Configuration::get_stop_recording_on_xrun); + } else if (PARAM_IS ("create-xrun-marker")) { + ActionManager::map_some_state ("options", "CreateXrunMarker", &Configuration::get_create_xrun_marker); } else if (PARAM_IS ("sync-all-route-ordering")) { ActionManager::map_some_state ("options", "SyncEditorAndMixerTrackOrder", &Configuration::get_sync_all_route_ordering); } else if (PARAM_IS ("stop-at-session-end")) { |