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:
Paul Davis
2012-10-24 00:29:11 +00:00
parent 956261b36d
commit 3d4bbcd65c

View File

@@ -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