summaryrefslogtreecommitdiff
path: root/libs/ardour/amp.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2016-08-27 16:08:48 +1000
committerTim Mayberry <mojofunk@gmail.com>2017-04-19 09:36:50 +1000
commite1adc1a3e1ee01ba2e50c5ff0de0cef649cf0ef4 (patch)
tree09ddbc3c736cfc206ffece9b4ce76898416682ad /libs/ardour/amp.cc
parent31b5023f591185c38ea06b556940e14055ec7e3e (diff)
Use XMLNode::set_property in ARDOUR::Amp class
Diffstat (limited to 'libs/ardour/amp.cc')
-rw-r--r--libs/ardour/amp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/amp.cc b/libs/ardour/amp.cc
index e2788060bc..98257ddd7a 100644
--- a/libs/ardour/amp.cc
+++ b/libs/ardour/amp.cc
@@ -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;