Use XMLNode::set_property API in all Panner classes
This commit is contained in:
parent
f9af328bca
commit
a59288a1f2
@ -336,9 +336,9 @@ XMLNode&
|
||||
Panner1in2out::get_state ()
|
||||
{
|
||||
XMLNode& root (Panner::get_state ());
|
||||
root.add_property (X_("uri"), _descriptor.panner_uri);
|
||||
root.set_property (X_("uri"), _descriptor.panner_uri);
|
||||
/* this is needed to allow new sessions to load with old Ardour: */
|
||||
root.add_property (X_("type"), _descriptor.name);
|
||||
root.set_property (X_("type"), _descriptor.name);
|
||||
return root;
|
||||
}
|
||||
|
||||
|
@ -479,9 +479,9 @@ XMLNode&
|
||||
Panner2in2out::get_state ()
|
||||
{
|
||||
XMLNode& root (Panner::get_state ());
|
||||
root.add_property (X_("uri"), _descriptor.panner_uri);
|
||||
root.set_property (X_("uri"), _descriptor.panner_uri);
|
||||
/* this is needed to allow new sessions to load with old Ardour: */
|
||||
root.add_property (X_("type"), _descriptor.name);
|
||||
root.set_property (X_("type"), _descriptor.name);
|
||||
return root;
|
||||
}
|
||||
|
||||
|
@ -270,9 +270,9 @@ Pannerbalance::factory (boost::shared_ptr<Pannable> p, boost::shared_ptr<Speaker
|
||||
Pannerbalance::get_state ()
|
||||
{
|
||||
XMLNode& root (Panner::get_state ());
|
||||
root.add_property (X_("uri"), _descriptor.panner_uri);
|
||||
root.set_property (X_("uri"), _descriptor.panner_uri);
|
||||
/* this is needed to allow new sessions to load with old Ardour: */
|
||||
root.add_property (X_("type"), _descriptor.name);
|
||||
root.set_property (X_("type"), _descriptor.name);
|
||||
return root;
|
||||
}
|
||||
|
||||
|
@ -366,9 +366,9 @@ XMLNode&
|
||||
VBAPanner::get_state ()
|
||||
{
|
||||
XMLNode& node (Panner::get_state());
|
||||
node.add_property (X_("uri"), _descriptor.panner_uri);
|
||||
node.set_property (X_("uri"), _descriptor.panner_uri);
|
||||
/* this is needed to allow new sessions to load with old Ardour: */
|
||||
node.add_property (X_("type"), _descriptor.name);
|
||||
node.set_property (X_("type"), _descriptor.name);
|
||||
return node;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user