Initial Gain Coefficient tweaks
[ardour.git] / libs / ardour / mute_master.cc
index 5734af8a3d812d6ce9af20e50721e232c88017b1..4c23855915a519e8bb4a28dbe50786762054db1c 100644 (file)
@@ -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;
                         }
                 }
         }