Searched refs:gainOrLevel (Results 1 – 1 of 1) sorted by relevance
1979 private static float clampGainOrLevel(float gainOrLevel) { in clampGainOrLevel() argument1980 if (Float.isNaN(gainOrLevel)) { in clampGainOrLevel()1983 if (gainOrLevel < GAIN_MIN) { in clampGainOrLevel()1984 gainOrLevel = GAIN_MIN; in clampGainOrLevel()1985 } else if (gainOrLevel > GAIN_MAX) { in clampGainOrLevel()1986 gainOrLevel = GAIN_MAX; in clampGainOrLevel()1988 return gainOrLevel; in clampGainOrLevel()