13
0

Use XMLNode::set_property in ARDOUR::Amp class

This commit is contained in:
Tim Mayberry 2016-08-27 16:08:48 +10:00
parent 31b5023f59
commit e1adc1a3e1

View File

@ -359,7 +359,7 @@ XMLNode&
Amp::state (bool full_state)
{
XMLNode& node (Processor::state (full_state));
node.add_property("type", _gain_control->parameter().type() == GainAutomation ? "amp" : "trim");
node.set_property("type", _gain_control->parameter().type() == GainAutomation ? "amp" : "trim");
node.add_child_nocopy (_gain_control->get_state());
return node;