make SiP mute gain work ... hopefully without breaking anything else
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 9 Feb 2011 16:37:07 +0000 (16:37 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 9 Feb 2011 16:37:07 +0000 (16:37 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8808 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/mute_master.cc

index 5a261fb44fabd20543f6fd3ebb736fc8ad8c3a49..c0e5ca836823324c285e701082909f031182676d 100644 (file)
@@ -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;
                         }