Version

menu_open
Wwise SDK 2022.1.12

◆ GetAudioOutContextHandle()

virtual SceAudioOut2ContextHandle AK::IAkPS5Context::GetAudioOutContextHandle ( )
pure virtual

Returns the current SceAudioOut2ContextHandle being used by the Wwise SoundEngine for main output. This should be called only once the SoundEngine has been successfully initialized, otherwise the function will return an invalid value (SCE_AUDIO_OUT2_CONTEXT_HANDLE_INVALID). A sink does not necessarily have had to be created first to utilize this. Note that if a value besides SCE_AUDIO_OUT2_CONTEXT_HANDLE_INVALID is returned, that value will persist for as long as the sound engine is initialized.

Returns
the current sceAudioOut2 context handle or SCE_AUDIO_OUT2_CONTEXT_HANDLE_INVALID.

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