Sets a listener's spatialization parameters. This lets you define listener-specific volume offsets for each audio channel. If
in_bSpatialized is false, only
in_pVolumeOffsets is used for this listener (3D positions have no effect on the speaker distribution). Otherwise,
in_pVolumeOffsets is added to the speaker distribution computed for this listener. Use helper functions of
AK::SpeakerVolumes to manipulate the vector of volume offsets in_pVolumeOffsets.
AK_Success if message was successfully posted to sound engine queue
AK_InvalidFloatValue if the value specified was NaN or Inf
AK_InsufficientMemory if there wasn't enough memory in the message queue
- See also
||Listener game object ID
||Spatialization toggle (True : enable spatialization, False : disable spatialization)
||Channel configuration associated with volumes in_pVolumeOffsets. Ignored if in_pVolumeOffsets is NULL.
||Per-speaker volume offset, in dB. See AkSpeakerVolumes.h for how to manipulate this vector.