Returns the maximum distance used in attenuations associated to all sounds currently playing. This may be used for example by the game to know if some processing need to be performed on the game side, that would not be required if the object is out of reach anyway.
Note: The returned value is NOT the distance from a listener to an object but the maximum attenuation distance of all sounds playing on this object. This is not related in any way to the curent 3D position of the object.
- AK_Success if succeeded
- AK_InsuficientMemory if there was not enough memory
Note: The Scaling factor (if one was specified on the game object) is included in the return value. The Scaling factor is not updated once a sound starts playing since it is computed only when the playback starts with the initial scaling factor of this game object. Scaling factor will be re-computed for every playback instance, always using the scaling factor available at this time.