diff options
author | Robin Gareus <robin@gareus.org> | 2018-12-16 04:15:49 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-12-16 04:25:25 +0100 |
commit | f28ccd5e3a1350e09a1bf9ee0734db9b2e5db315 (patch) | |
tree | 2522e998647ce06fadcbf5240948bbb4c6714015 /libs/ardour/automatable.cc | |
parent | 6a171eb8475a56f960e1bd9250bbbec35d29d869 (diff) |
NO-OP: whitespace
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r-- | libs/ardour/automatable.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index 981c4b571f..3e5eec54f7 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -65,12 +65,12 @@ Automatable::Automatable (const Automatable& other) , _a_session (other._a_session) , _automated_controls (new ControlList) { - Glib::Threads::Mutex::Lock lm (other._control_lock); + Glib::Threads::Mutex::Lock lm (other._control_lock); - for (Controls::const_iterator i = other._controls.begin(); i != other._controls.end(); ++i) { - boost::shared_ptr<Evoral::Control> ac (control_factory (i->first)); + for (Controls::const_iterator i = other._controls.begin(); i != other._controls.end(); ++i) { + boost::shared_ptr<Evoral::Control> ac (control_factory (i->first)); add_control (ac); - } + } } Automatable::~Automatable () @@ -148,7 +148,7 @@ Automatable::load_automation (const string& path) return 0; - bad: +bad: error << string_compose(_("cannot load automation data from %2"), fullpath) << endmsg; controls().clear (); ::fclose (in); @@ -270,11 +270,11 @@ Automatable::set_automation_xml_state (const XMLNode& node, Evoral::Parameter le boost::shared_ptr<AutomationControl> existing = automation_control (param); if (existing) { - existing->alist()->set_state (**niter, 3000); + existing->alist()->set_state (**niter, 3000); } else { - boost::shared_ptr<Evoral::Control> newcontrol = control_factory(param); + boost::shared_ptr<Evoral::Control> newcontrol = control_factory(param); add_control (newcontrol); - boost::shared_ptr<AutomationList> al (new AutomationList(**niter, param)); + boost::shared_ptr<AutomationList> al (new AutomationList(**niter, param)); newcontrol->set_list(al); } |