diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-10-24 00:29:11 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-10-24 00:29:11 +0000 |
commit | 3d4bbcd65cfc14cecef42065a25e5143e179c501 (patch) | |
tree | e52c77918dfab0070f569208810cd1a93c59976d /libs | |
parent | 956261b36d494fc8d3084a19ee3cedecf6873c30 (diff) |
save + restore OSC active+feedback state (#5023)
git-svn-id: svn://localhost/ardour2/branches/3.0@13329 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/surfaces/osc/osc.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc index 475dd3678c..357b82d4d2 100644 --- a/libs/surfaces/osc/osc.cc +++ b/libs/surfaces/osc/osc.cc @@ -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 |