pub fn set_listeners(
    emitter_id: AkGameObjectID,
    listener_ids: &[AkGameObjectID]
) -> Result<(), AkResult>
Expand description

Sets a game object’s associated listeners.

All listeners that have previously been added via add_listener or set via set_listeners will be removed and replaced with the listeners in the array listener_ids. Calling this function will override the default set of listeners and emitter_id will now reference its own, unique set of listeners.

See also