mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 06:36:29 +01:00
Use XMLNode::set_property in ARDOUR::Amp class
This commit is contained in:
parent
31b5023f59
commit
e1adc1a3e1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue