save + restore OSC active+feedback state (#5023)
git-svn-id: svn://localhost/ardour2/branches/3.0@13329 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -989,7 +989,12 @@ OSC::route_plugin_parameter_print (int rid, int piid, int par)
|
||||
XMLNode&
|
||||
OSC::get_state ()
|
||||
{
|
||||
return *(new XMLNode ("OSC"));
|
||||
XMLNode* node = new XMLNode ("Protocol");
|
||||
|
||||
node->add_property (X_("name"), "Open Sound Control (OSC)");
|
||||
node->add_property (X_("feedback"), _send_route_changes ? "1" : "0");
|
||||
|
||||
return *node;
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user