Searched refs:gainOrLevel (Results 1 – 1 of 1) sorted by relevance
1986 private static float clampGainOrLevel(float gainOrLevel) { in clampGainOrLevel() argument1987 if (Float.isNaN(gainOrLevel)) { in clampGainOrLevel()1990 if (gainOrLevel < GAIN_MIN) { in clampGainOrLevel()1991 gainOrLevel = GAIN_MIN; in clampGainOrLevel()1992 } else if (gainOrLevel > GAIN_MAX) { in clampGainOrLevel()1993 gainOrLevel = GAIN_MAX; in clampGainOrLevel()1995 return gainOrLevel; in clampGainOrLevel()