Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATLinearToDBGain
CATFloat32 CATLinearToDBGain ( CATFloat32  linearVal  )  [inline]

CATLinearToDBGain() converts a linear value to a gain multiplier for volume sliders and the like.

Parameters:
linearVal - input linear value (0 - 1.0f)
Returns:
CATFloat32 - gain multiplier (0.0f - 2.0f)

Definition at line 43 of file CATMathUtil.h.

References CATLinearToDBValue().

Referenced by CATSlider::GetHint(), and CATKnob::GetHint().


Generated on Mon Feb 11 04:10:01 2008 for Game Accessibility Suite by doxygen 1.5.4