\fBName\fP

AuFixedPointFromFraction - make a fixed point value.

\fBSynopsis\fP

#include <audio/audiolib.h>

AuFixedPoint AuFixedPointFromFraction(nnn, ddd)

      int nnn;
      int ddd;

\fBArguments\fP

nnn

Specifies the numerator.

ddd

Specifies the denominator.

\fBDescription\fP

AuFixedPointFromFraction constructs a fixed point value by dividing nnn by ddd.

AuFixedPointFromFraction is implemented as a macro.

\fBSee Also\fP

AuFixePointFractionalAddend, AuFixePointFromSum, AuFixePointIntegralAddend, AuFixePointRoundDown, AuFixePointRoundUp.

audiolib - Network Audio System C Language Interface