X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fmute_master.cc;fp=libs%2Fardour%2Fmute_master.cc;h=4c23855915a519e8bb4a28dbe50786762054db1c;hb=46f97e8d92241c94d12d81ea182a9172df98e61e;hp=5734af8a3d812d6ce9af20e50721e232c88017b1;hpb=187ddb3bad70088f901ed1ea5e1402519fd393b4;p=ardour.git diff --git a/libs/ardour/mute_master.cc b/libs/ardour/mute_master.cc index 5734af8a3d..4c23855915 100644 --- a/libs/ardour/mute_master.cc +++ b/libs/ardour/mute_master.cc @@ -90,26 +90,26 @@ MuteMaster::mute_gain_at (MutePoint mp) const if (Config->get_solo_mute_override()) { if (_soloed) { - gain = 1.0; + gain = GAIN_COEFF_UNITY; } else if (muted_by_self_at (mp)) { - gain = 0.0; + gain = GAIN_COEFF_ZERO; } else { if (muted_by_others_at (mp)) { gain = Config->get_solo_mute_gain (); } else { - gain = 1.0; + gain = GAIN_COEFF_UNITY; } } } else { if (muted_by_self_at (mp)) { - gain = 0.0; + gain = GAIN_COEFF_ZERO; } else if (_soloed) { - gain = 1.0; + gain = GAIN_COEFF_UNITY; } else { if (muted_by_others_at (mp)) { gain = Config->get_solo_mute_gain (); } else { - gain = 1.0; + gain = GAIN_COEFF_UNITY; } } }