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
AkSoundEngine post event uses either string or uint. Is posting via uint faster? I would assume this is true and plan to structure the my interfacing with wwise this way.

Also, AkSoundEngine only has the function to convert a event string to an event id , but not vice versa. Is there a workaround for this?
in General Discussion by Victor C. (130 points)

1 Answer

0 votes
For conversion from string to uint, Wwise is using a quick hash function (FNVhash: https://www.audiokinetic.com/library/2015.1.2_5457/?source=SDK&id=class_a_k_1_1_f_n_v_hash.html).  There is little overhead of using the string version instead of the uint version because the string version hashes the string, and call the uint version.  But the convenience of the string version is considerable.  The hash function is optimal.  There is no way to recover the string from the uint,
by Bernard R. (Audiokinetic) (35.8k points)
...