}
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()) {
stringstream sstr;
for (set<Evoral::Parameter>::iterator x = _visible_controls.begin();
x != _visible_controls.end(); ++x) {
+
if (x != _visible_controls.begin()) {
sstr << ' ';
}
- sstr << *x;
+ sstr << (*x).id();
}
automation.add_property ("visible", sstr.str());
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) {
return 0;
}
+/** Caller must hold process lock */
bool
Processor::configure_io (ChanCount in, ChanCount out)
{