Table des matières

Wwise SDK 2018.1.11

◆ GetListenerSpatialization()

AKRESULT __cdecl AK::SoundEngine::Query::GetListenerSpatialization ( AkUInt32  in_uIndex,
bool &  out_rbSpatialized,
AK::SpeakerVolumes::VectorPtr out_pVolumeOffsets,
AkChannelConfig out_channelConfig 
)

Get a listener's spatialization parameters.

Returns
AK_Success if succeeded, or AK_InvalidParameter if the index is out of range
See also
Parameters
in_uIndex Listener index (0: first listener, 7: 8th listener)
out_rbSpatialized Spatialization enabled
out_pVolumeOffsets Per-speaker vector of volume offsets, in decibels. Use the functions of AK::SpeakerVolumes::Vector to interpret it.
out_channelConfig Channel configuration associated with out_rpVolumeOffsets.