13
0

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
This commit is contained in:
Paul Davis 2011-02-09 16:37:07 +00:00
parent 9926b00a1f
commit 2b3adfb18f

View 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;
}