summaryrefslogtreecommitdiff
path: root/libs/ardour/mute_master.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-02-09 16:37:07 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-02-09 16:37:07 +0000
commit2b3adfb18f0c2befb39b8b56d3e3f07833cc7b33 (patch)
tree7b1993a604a00af9452358a81fcb347d245d8359 /libs/ardour/mute_master.cc
parent9926b00a1f84f6c81e80fa77d1202283af0d910e (diff)
make SiP mute gain work ... hopefully without breaking anything else
git-svn-id: svn://localhost/ardour2/branches/3.0@8808 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/mute_master.cc')
-rw-r--r--libs/ardour/mute_master.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/mute_master.cc b/libs/ardour/mute_master.cc
index 5a261fb44f..c0e5ca8368 100644
--- a/libs/ardour/mute_master.cc
+++ b/libs/ardour/mute_master.cc
@@ -88,22 +88,22 @@ MuteMaster::mute_gain_at (MutePoint mp) const
if (_soloed) {
gain = 1.0;
} else if (muted_by_self_at (mp)) {
- gain = Config->get_solo_mute_gain ();
+ gain = 0.0;
} else {
if (muted_by_others_at (mp)) {
- gain = 0.0;
+ gain = Config->get_solo_mute_gain ();
} else {
gain = 1.0;
}
}
} else {
if (muted_by_self_at (mp)) {
- gain = Config->get_solo_mute_gain ();
+ gain = 0.0;
} else if (_soloed) {
gain = 1.0;
} else {
if (muted_by_others_at (mp)) {
- gain = 0.0;
+ gain = Config->get_solo_mute_gain ();
} else {
gain = 1.0;
}