Version

menu_open
AKRESULT __cdecl AK::SoundEngine::SetListenerPipeline ( AkGameObjectID  in_uListenerID,
bool  in_bAudio,
bool  in_bMotion  
)

Set a listener's ability to listen to audio and motion events. By default, all listeners are enabled for audio and disabled for motion.

Note.gif
Note: If your game doesn't use Motion, you should NOT need to use this function. This function isn't a global "activate" switch on the listeners. Use SetListeners properly to control which listeners are used in your game.
Returns:
Always returns AK_Success
See also:
Parameters:
in_uListenerID  Listener game object ID
in_bAudio  True=Listens to audio events (by default it is true)
in_bMotion  True=Listens to motion events (by default it is false)

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise