summaryrefslogtreecommitdiff
path: root/libs/ardour/automatable.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r--libs/ardour/automatable.cc28
1 files changed, 0 insertions, 28 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc
index 417110e433..3045e8573c 100644
--- a/libs/ardour/automatable.cc
+++ b/libs/ardour/automatable.cc
@@ -314,34 +314,6 @@ Automatable::get_parameter_automation_state (Evoral::Parameter param)
}
void
-Automatable::set_parameter_automation_style (Evoral::Parameter param, AutoStyle s)
-{
- Glib::Threads::Mutex::Lock lm (control_lock());
-
- boost::shared_ptr<AutomationControl> c = automation_control(param, true);
-
- if (c && (s != c->automation_style())) {
- c->set_automation_style (s);
- _a_session.set_dirty ();
- }
-}
-
-AutoStyle
-Automatable::get_parameter_automation_style (Evoral::Parameter param)
-{
- Glib::Threads::Mutex::Lock lm (control_lock());
-
- boost::shared_ptr<Evoral::Control> c = control(param);
- boost::shared_ptr<AutomationList> l = boost::dynamic_pointer_cast<AutomationList>(c->list());
-
- if (c) {
- return l->automation_style();
- } else {
- return Absolute; // whatever
- }
-}
-
-void
Automatable::protect_automation ()
{
typedef set<Evoral::Parameter> ParameterSet;