Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

AK::SoundEngine::IsInitialized() always returns false when called from UGameViewportClient::LostFocus()

0 votes
We are trying to suspend Wwise when the viewport is not in focus. Initially we used the AK::SoundEngine interface, but because of the problem in the title, we had no way to check if the engine was properly initialized. We tried the class FAkAudioDevice, which has a private variable named m_bSoundEngineInitialized. After adding a public getter to the class, the code is now working without any crashes.

Naturally, we'd like to avoid modifying the integration source. Is this a known issue, with IsInitialized(), and is there a solution?
asked Jan 28, 2021 in General Discussion by Brett D. (130 points)

Please sign-in or register to answer this question.

...