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

CATSampleToDBFMeter converts a sample value to a dBF value, then from -96.0 to 0 dBF on a linear scale for a meter.

Parameters:
sample - sample value (-1.0f -> 1.0f)
Returns:
meter value (0 - 1.0f)

Definition at line 71 of file CATMathUtil.h.

References CATSampleToDBF().


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