menu
Version
2016.2.6.6153
2024.1.3.8749
2023.1.11.8682
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
2024.1.3.8749
2023.1.11.8682
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
Get instance of XAudio2 created by the sound engine at initialization.
Returns the current, NON-ADDREF'd, XAudio2 interface currently being used by the Wwise SoundEngine. This should be called only once the SoundEngine has been successfully initialized, otherwise the function will return NULL. It is the responsibility of the caller to AddRef (and Release) the interface if there is a risk the sound engine be terminated before the caller is done with the interface. This function is not thread safe with AK::SoundEngine::Init() nor AK::SoundEngine::Term(). XAudio2 allows creating multiple instances of XAudio2 objects, so systems are not forced to share the same IXAudio2 object, but can be useful to share some resources. There can not be more than XAUDIO2_MAX_INSTANCES (8 at the time of writing this) simultaneous instances of XAudio2.
|
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise