Searched refs:gainOrLevel (Results 1 – 1 of 1) sorted by relevance
2379 private static float clampGainOrLevel(float gainOrLevel) { in clampGainOrLevel() argument2380 if (Float.isNaN(gainOrLevel)) { in clampGainOrLevel()2383 if (gainOrLevel < GAIN_MIN) { in clampGainOrLevel()2384 gainOrLevel = GAIN_MIN; in clampGainOrLevel()2385 } else if (gainOrLevel > GAIN_MAX) { in clampGainOrLevel()2386 gainOrLevel = GAIN_MAX; in clampGainOrLevel()2388 return gainOrLevel; in clampGainOrLevel()