Other Documentation

Wwise SDK 2022.1.8

◆ GetWwiseXAudio2Interface()

AKSOUNDENGINE_API IUnknown* AK::GetWwiseXAudio2Interface ( )

Get instance of XAudio2 created by the sound engine at initialization.

Non-addref'd pointer to XAudio2 interface. NULL if sound engine is not initialized or XAudio2 is not used. The returned pointer can be of either XAudio 2.7, XAudio 2.8, Xaudio 2.9 depending on the Windows version the game is running on. Use QueryInterface to identify which one and cast appropriately

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