diff options
author | Robin Gareus <robin@gareus.org> | 2016-12-30 17:29:08 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-30 17:29:08 +0100 |
commit | 3afe3f32df076a6b47c1e40990abcd4d7ae4b593 (patch) | |
tree | 06a34f76f16d66bc48f921c195fa5e370a5afe00 /gtk2_ardour | |
parent | a2bf54c041b726a0639dc3294402471ea829bbde (diff) |
Remove cruft (old MIDI feedback API)
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/ardour_ui.h | 1 | ||||
-rw-r--r-- | gtk2_ardour/ardour_ui_ed.cc | 2 | ||||
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 8 | ||||
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 10 |
4 files changed, 0 insertions, 21 deletions
diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h index d0749e59fe..cc469142b4 100644 --- a/gtk2_ardour/ardour_ui.h +++ b/gtk2_ardour/ardour_ui.h @@ -799,7 +799,6 @@ private: std::vector<std::string> positional_sync_strings; - void toggle_send_midi_feedback (); void toggle_use_mmc (); void toggle_send_mmc (); void toggle_send_mtc (); diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc index d9275e0892..ace6076e4d 100644 --- a/gtk2_ardour/ardour_ui_ed.cc +++ b/gtk2_ardour/ardour_ui_ed.cc @@ -558,8 +558,6 @@ ARDOUR_UI::install_actions () ActionManager::session_sensitive_actions.push_back (act); act = global_actions.register_toggle_action (option_actions, X_("SendMidiClock"), _("Send MIDI Clock"), sigc::mem_fun (*this, &ARDOUR_UI::toggle_send_midi_clock)); ActionManager::session_sensitive_actions.push_back (act); - act = global_actions.register_toggle_action (option_actions, X_("SendMIDIfeedback"), _("Send MIDI Feedback"), sigc::mem_fun (*this, &ARDOUR_UI::toggle_send_midi_feedback)); - ActionManager::session_sensitive_actions.push_back (act); /* MIDI */ diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index dc0e8b41f4..318a2bfe60 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -105,12 +105,6 @@ ARDOUR_UI::toggle_use_mmc () } void -ARDOUR_UI::toggle_send_midi_feedback () -{ - ActionManager::toggle_config_state ("Options", "SendMIDIfeedback", &RCConfiguration::set_midi_feedback, &RCConfiguration::get_midi_feedback); -} - -void ARDOUR_UI::toggle_auto_input () { ActionManager::toggle_config_state_foo ("Transport", "ToggleAutoInput", sigc::mem_fun (_session->config, &SessionConfiguration::set_auto_input), sigc::mem_fun (_session->config, &SessionConfiguration::get_auto_input)); @@ -340,8 +334,6 @@ ARDOUR_UI::parameter_changed (std::string p) } else if (p == "mmc-control") { ActionManager::map_some_state ("Options", "UseMMC", &RCConfiguration::get_mmc_control); - } else if (p == "midi-feedback") { - ActionManager::map_some_state ("Options", "SendMIDIfeedback", &RCConfiguration::get_midi_feedback); } else if (p == "auto-play") { ActionManager::map_some_state ("Transport", "ToggleAutoPlay", sigc::mem_fun (_session->config, &SessionConfiguration::get_auto_play)); } else if (p == "auto-return") { diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 24199f6d98..f20bca19b0 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -2716,16 +2716,6 @@ if (!Profile->get_mixbus()) { sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_never_display_periodic_midi) )); -#if 0 // unused ?! - add_option (_("MIDI"), - new BoolOption ( - "midi-feedback", - _("Send MIDI control feedback"), - sigc::mem_fun (*_rc_config, &RCConfiguration::get_midi_feedback), - sigc::mem_fun (*_rc_config, &RCConfiguration::set_midi_feedback) - )); -#endif - add_option (_("MIDI"), new OptionEditorHeading (_("Audition"))); add_option (_("MIDI"), |