remove OSC related cruft from ardour_ui_options.cc

control surface activation is handled via an entirely separate mechanism now
This commit is contained in:
Paul Davis 2013-10-04 11:46:50 -04:00
parent 82f0f3a9a7
commit 74f3955682

View file

@ -29,10 +29,6 @@
#include "ardour/rc_configuration.h"
#include "ardour/session.h"
#ifdef HAVE_LIBLO
#include "ardour/osc.h"
#endif
#include "audio_clock.h"
#include "ardour_ui.h"
#include "actions.h"
@ -342,16 +338,6 @@ ARDOUR_UI::parameter_changed (std::string p)
ActionManager::map_some_state ("options", "SendMMC", &RCConfiguration::get_send_mmc);
} else if (p == "use-osc") {
#ifdef HAVE_LIBLO
if (Config->get_use_osc()) {
osc->start ();
} else {
osc->stop ();
}
#endif
} else if (p == "keep-tearoffs") {
ActionManager::map_some_state ("Common", "KeepTearoffs", &RCConfiguration::get_keep_tearoffs);
} else if (p == "mmc-control") {