mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
NO-OP: whitespace
This commit is contained in:
parent
6a171eb847
commit
f28ccd5e3a
1 changed files with 8 additions and 8 deletions
|
|
@ -65,12 +65,12 @@ Automatable::Automatable (const Automatable& other)
|
||||||
, _a_session (other._a_session)
|
, _a_session (other._a_session)
|
||||||
, _automated_controls (new ControlList)
|
, _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) {
|
for (Controls::const_iterator i = other._controls.begin(); i != other._controls.end(); ++i) {
|
||||||
boost::shared_ptr<Evoral::Control> ac (control_factory (i->first));
|
boost::shared_ptr<Evoral::Control> ac (control_factory (i->first));
|
||||||
add_control (ac);
|
add_control (ac);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Automatable::~Automatable ()
|
Automatable::~Automatable ()
|
||||||
|
|
@ -148,7 +148,7 @@ Automatable::load_automation (const string& path)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
bad:
|
bad:
|
||||||
error << string_compose(_("cannot load automation data from %2"), fullpath) << endmsg;
|
error << string_compose(_("cannot load automation data from %2"), fullpath) << endmsg;
|
||||||
controls().clear ();
|
controls().clear ();
|
||||||
::fclose (in);
|
::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);
|
boost::shared_ptr<AutomationControl> existing = automation_control (param);
|
||||||
|
|
||||||
if (existing) {
|
if (existing) {
|
||||||
existing->alist()->set_state (**niter, 3000);
|
existing->alist()->set_state (**niter, 3000);
|
||||||
} else {
|
} else {
|
||||||
boost::shared_ptr<Evoral::Control> newcontrol = control_factory(param);
|
boost::shared_ptr<Evoral::Control> newcontrol = control_factory(param);
|
||||||
add_control (newcontrol);
|
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);
|
newcontrol->set_list(al);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue