diff options
Diffstat (limited to 'libs/ardour/redirect.cc')
-rw-r--r-- | libs/ardour/redirect.cc | 56 |
1 files changed, 14 insertions, 42 deletions
diff --git a/libs/ardour/redirect.cc b/libs/ardour/redirect.cc index 710b00fe18..5623e5d510 100644 --- a/libs/ardour/redirect.cc +++ b/libs/ardour/redirect.cc @@ -108,23 +108,23 @@ Redirect::set_placement (const string& str, void *src) } } +/* NODE STRUCTURE + + <Automation [optionally with visible="...." ]> + <parameter-N> + <AutomationList id=N> + <events> + X1 Y1 + X2 Y2 + .... + </events> + </parameter-N> + <Automation> +*/ + int Redirect::set_automation_state (const XMLNode& node) { - /* NODE STRUCTURE - - <Automation [optionally with visible="...." ]> - <parameter-N> - <events> - X1 Y1 - X2 Y2 - .... - </events> - </parameter-N> - <Automation> - - */ - Glib::Mutex::Lock lm (_automation_lock); parameter_automation.clear (); @@ -157,20 +157,6 @@ Redirect::set_automation_state (const XMLNode& node) XMLNode& Redirect::get_automation_state () { - /* NODE STRUCTURE - - <Automation [optionally with visible="...." ]> - <parameter-N> - <events> - X1 Y1 - X2 Y2 - .... - </events> - </parameter-N> - <Automation> - - */ - Glib::Mutex::Lock lm (_automation_lock); XMLNode* node = new XMLNode (X_("Automation")); string fullpath; @@ -217,20 +203,6 @@ Redirect::state (bool full_state) if (full_state) { - /* NODE STRUCTURE - - <Automation [optionally with visible="...." ]> - <parameter-N> - <events> - X1 Y1 - X2 Y2 - .... - </events> - </parameter-N> - <Automation> - - */ - XMLNode& automation = get_automation_state(); for (set<uint32_t>::iterator x = visible_parameter_automation.begin(); x != visible_parameter_automation.end(); ++x) { |