projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6a171eb
)
NO-OP: whitespace
author
Robin Gareus
<robin@gareus.org>
Sun, 16 Dec 2018 03:15:49 +0000
(
04:15
+0100)
committer
Robin Gareus
<robin@gareus.org>
Sun, 16 Dec 2018 03:25:25 +0000
(
04:25
+0100)
libs/ardour/automatable.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/automatable.cc
b/libs/ardour/automatable.cc
index 981c4b571f01d754094defd459748a3fef1e1867..3e5eec54f7d2899bd6c3b4ced050679c2da5e33c 100644
(file)
--- 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)
{
, _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);
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;
controls().clear ();
::fclose (in);
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) {
boost::shared_ptr<AutomationControl> existing = automation_control (param);
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);
}