Wwise Version
arrow_right Table of Contents
Wwise SDK 2021.1.5

◆ GetWwiseXAudio2Interface()

AKSOUNDENGINE_API IUnknown* AK::GetWwiseXAudio2Interface ( )

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

Returns
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