Table of Contents

Wwise SDK 2018.1.11

◆ GetListeners()

AKRESULT __cdecl AK::SoundEngine::Query::GetListeners ( AkGameObjectID  in_GameObjectID,
AkGameObjectID out_ListenerObjectIDs,
AkUInt32 oi_uNumListeners 

Get a game object's listeners.

AK_Success if succeeded, or AK_IDNotFound if the game object was not registered
See also
in_GameObjectID Source game object identifier
out_ListenerObjectIDs Pointer to an array of AkGameObjectID's. Will be populated with the IDs of the listeners of in_GameObjectID. Pass NULL to querry the size required.
oi_uNumListeners Pass in the the available number of elements in the array 'out_ListenerObjectIDs'. After return, the number of valid elements filled in the array.