summaryrefslogtreecommitdiff
path: root/libs/ardour/mute_master.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-03-28 19:07:23 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-03-28 19:07:23 +0000
commitf297e9fa5155772ac0127607d45db2bb7f3df553 (patch)
treec3cae9580277b993d1748ea670b122479d17b195 /libs/ardour/mute_master.cc
parent5e8b3f08328424299c264d70bba307dcea1f2b17 (diff)
lincoln's patch to get loading 2.X sessions to work better
git-svn-id: svn://localhost/ardour2/branches/3.0@6804 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/mute_master.cc')
-rw-r--r--libs/ardour/mute_master.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/mute_master.cc b/libs/ardour/mute_master.cc
index e7810b27fd..45499696a9 100644
--- a/libs/ardour/mute_master.cc
+++ b/libs/ardour/mute_master.cc
@@ -77,6 +77,14 @@ MuteMaster::mute_gain_at (MutePoint mp) const
}
int
+MuteMaster::set_state (std::string mute_point)
+{
+ _mute_point = (MutePoint) string_2_enum (mute_point, _mute_point);
+
+ return 0;
+}
+
+int
MuteMaster::set_state (const XMLNode& node, int /*version*/)
{
const XMLProperty* prop;