Searched refs:gainOrLevel (Results 1 – 1 of 1) sorted by relevance
2680 private static float clampGainOrLevel(float gainOrLevel) { in clampGainOrLevel() argument2681 if (Float.isNaN(gainOrLevel)) { in clampGainOrLevel()2684 if (gainOrLevel < GAIN_MIN) { in clampGainOrLevel()2685 gainOrLevel = GAIN_MIN; in clampGainOrLevel()2686 } else if (gainOrLevel > GAIN_MAX) { in clampGainOrLevel()2687 gainOrLevel = GAIN_MAX; in clampGainOrLevel()2689 return gainOrLevel; in clampGainOrLevel()