projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31b5023
)
Use XMLNode::set_property in ARDOUR::Amp class
author
Tim Mayberry
<mojofunk@gmail.com>
Sat, 27 Aug 2016 06:08:48 +0000
(16:08 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Tue, 18 Apr 2017 23:36:50 +0000
(09:36 +1000)
libs/ardour/amp.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/amp.cc
b/libs/ardour/amp.cc
index e2788060bcef7eef2a2b050610d35d6fb37341c8..98257ddd7af3aa881ce53255338821ea962cfb3b 100644
(file)
--- 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;