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.

Non-Blocking Calls to Query namespace in Unity

+5 votes

We are trying to make use of the Query API in our game without having the calling thread wait on the audio thread. The main function we would like to use is AK::SoundEngine::Query::GetRTPCValue(). We've seen this post (https://www.audiokinetic.com/qa/1/why-are-calls-to-the-ak-soundengine-query-namespace-blocking) which recommends registering a global callback with AK::SoundEngine::RegisterGlobalCallback() which will be invoked from the audio thread so no waiting is necessary. However, that function appears to be unsupported in the Unity Integration of Wwise (https://www.audiokinetic.com/library/edge/?source=Unity&id=pg_limitations.html).Without AK::SoundEngine::RegisterGlobalCallback() exposed, is there another way to make non-blocking calls to the Query namespace, specifically with the Unity integration?

audiokinetic.comaudiokinetic.com

Why are calls to the AK::SoundEngine::Query namespace blocking? - Community Q&A

I am having performance issues with Queries in the SDK. Whenever I call a Query function, my game ... a few milliseconds. Is there something I can do?

audiokinetic.comaudiokinetic.com

API Changes and Limitations

Audiokinetic Wwise Unity Integration - API Changes and Limitations

asked Jan 21, 2020 in Feature Requests by RJ M. (150 points)

Please sign-in or register to answer this question.

...