projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add stem export dialog and make all different export dialogs save their config to...
[ardour.git]
/
libs
/
ardour
/
processor.cc
diff --git
a/libs/ardour/processor.cc
b/libs/ardour/processor.cc
index 0bea376fc93630888307dfa6faf6b5ea9226fdb9..e5616987c6428e4bef5874a39b97155911eaf9b0 100644
(file)
--- a/
libs/ardour/processor.cc
+++ b/
libs/ardour/processor.cc
@@
-107,7
+107,7
@@
Processor::state (bool full_state)
}
if (full_state) {
}
if (full_state) {
- XMLNode& automation = Automatable::get_automation_state();
+ XMLNode& automation = Automatable::get_automation_
xml_
state();
if (!automation.children().empty()
|| !automation.properties().empty()
|| !_visible_controls.empty()) {
if (!automation.children().empty()
|| !automation.properties().empty()
|| !_visible_controls.empty()) {
@@
-115,10
+115,11
@@
Processor::state (bool full_state)
stringstream sstr;
for (set<Evoral::Parameter>::iterator x = _visible_controls.begin();
x != _visible_controls.end(); ++x) {
stringstream sstr;
for (set<Evoral::Parameter>::iterator x = _visible_controls.begin();
x != _visible_controls.end(); ++x) {
+
if (x != _visible_controls.begin()) {
sstr << ' ';
}
if (x != _visible_controls.begin()) {
sstr << ' ';
}
- sstr <<
*x
;
+ sstr <<
(*x).id()
;
}
automation.add_property ("visible", sstr.str());
}
automation.add_property ("visible", sstr.str());
@@
-196,7
+197,7
@@
Processor::set_state (const XMLNode& node, int version)
if ((prop = (*niter)->property ("path")) != 0) {
old_set_automation_state (*(*niter));
} else {
if ((prop = (*niter)->property ("path")) != 0) {
old_set_automation_state (*(*niter));
} else {
- set_automation_state (*(*niter), Evoral::Parameter(PluginAutomation));
+ set_automation_
xml_
state (*(*niter), Evoral::Parameter(PluginAutomation));
}
if ((prop = (*niter)->property ("visible")) != 0) {
}
if ((prop = (*niter)->property ("visible")) != 0) {
@@
-246,6
+247,7
@@
Processor::set_state (const XMLNode& node, int version)
return 0;
}
return 0;
}
+/** Caller must hold process lock */
bool
Processor::configure_io (ChanCount in, ChanCount out)
{
bool
Processor::configure_io (ChanCount in, ChanCount out)
{