Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
There are some times that I'd like to use an RTPC but I don't need it to update every frame. In situations where I don't need high temporal resolution of a parameter, it would be nice to specify that this RTPC is lower priority with the intention of saving on CPU usage.

Would this idea work in saving CPU usage for RTPCs?
in General Discussion by Daniel B. (260 points)

1 Answer

+3 votes
 
Best answer
You don't need to update an RTPC each frame, the value will stay the same until you change it again.  It is your game code that calls SetRTPCValue, you can call it with any frequency you need.  In fact, your game code should not update RTPCs each frame, especially for RTPCs that don't change values.  Finally, while extreme RTPC usage can cause CPU problems, it is usually not the case.  If you have CPU problems you should look at codecs and effects usage first, way before RTPC usage.
by Mathieu J. (Audiokinetic) (7.1k points)
selected by Daniel B.
Thanks for the clarification. I do not specifically have CPU problems with RTPCs but I do have intentions to use lots of them. It's good to know that I should maximize my savings in other areas first before looking at RTPCs. Thanks
...