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.

GetPeak() in_bForceCompute

0 votes
https://www.audiokinetic.com/library/edge/?source=SDK&id=class_a_k_1_1_i_ak_metering_ac7299ed2dcbdfc53316a64b1eb465182.html#ac7299ed2dcbdfc53316a64b1eb465182

The docs are referring to a parameter in_bForceCompute, but that param is not found in the function header???
asked Mar 19, 2021 in General Discussion by Marko R. (210 points)

1 Answer

0 votes
 
Best answer

Marko,

It would seem this parameter "in_bForceCompute" in the function documentation is simply misleading and was never a thing in production code.
We are taking note and will correct the documentation for: GetPeak() and GetRMS() as they both have the mistake in the header comment.

The Peak returned is the last peak that was computed before this call, there is no mechanism to force a re-evaluation with this call.

Cheers.

answered Apr 28, 2021 by Alexandre L. (Audiokinetic) (1,520 points)
selected Apr 28, 2021 by Marko R.
Is there another way to force re-eval?
...