alDoubleToFixed(3dm)                                      alDoubleToFixed(3dm)


NAME
     alFixedToDouble, alDoubleToFixed - convert between AL fixed-point and
     double-precision floating-point

SYNOPSIS
     #include <dmedia/audio.h>

     long long alDoubleToFixed(double d)

     double alFixedToDouble(long long f)

PARAMETER
     d    expects a double-precision value.

     f    expects a 64-bit fixed-point value (long long).

DESCRIPTION
     alDoubleToFixed converts from a double-precision floating-point value to
     the closest AL-format (32.32) fixed-point value.

     alFixedToDouble converts from an AL-format (32.32) fixed-point value to
     the closest double-precision floating-point value.

DIAGNOSTICS
     Neither function will return errors.

SEE ALSO
     alParams(3dm)


                                                                        Page 1