pub unsafe extern "C" fn iplDistanceAttenuationCalculate(
    context: IPLContext,
    source: IPLVector3,
    listener: IPLVector3,
    model: *mut IPLDistanceAttenuationModel
) -> IPLfloat32
Expand description

Calculates the distance attenuation between a source and a listener.

\param context The context used to initialize Steam Audio. \param source The position of the source. \param listener The position of the listener. \param model The distance attenuation model to use.

\return The distance attenuation to apply, between \c 0 and \c 1.