diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-04-08 16:49:47 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:40 -0400 |
commit | 653ae4acd639fef149314fe6f8c7a0d862afae40 (patch) | |
tree | ba32ff0efd9b105c207ad7e3b2e89d73e76b4355 /libs/ardour/mute_master.cc | |
parent | c107f1ab56270f4485ca2a787d575c2b5b53cfcf (diff) |
universal change in the design of the way Route/Track controls are designed and used. The controls now own their own state, rather than proxy for state in their owners.
Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
Diffstat (limited to 'libs/ardour/mute_master.cc')
-rw-r--r-- | libs/ardour/mute_master.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/mute_master.cc b/libs/ardour/mute_master.cc index dc40d1fd6b..6817374dc7 100644 --- a/libs/ardour/mute_master.cc +++ b/libs/ardour/mute_master.cc @@ -31,6 +31,8 @@ using namespace ARDOUR; using namespace std; +const string MuteMaster::xml_node_name (X_("MuteMaster")); + const MuteMaster::MutePoint MuteMaster::AllPoints = MuteMaster::MutePoint( PreFader|PostFader|Listen|Main); @@ -155,7 +157,7 @@ MuteMaster::set_state (const XMLNode& node, int /*version*/) XMLNode& MuteMaster::get_state() { - XMLNode* node = new XMLNode (X_("MuteMaster")); + XMLNode* node = new XMLNode (xml_node_name); node->add_property ("mute-point", enum_2_string (_mute_point)); node->add_property ("muted", (_muted_by_self ? X_("yes") : X_("no"))); return *node; |