Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.8.8601 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2023.1.8

◆ SetMaxNumVoicesLimit()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SetMaxNumVoicesLimit ( AkUInt16  in_maxNumberVoices)

Allows the game to set the maximum number of non virtual voices to be played simultaneously. This may be changed anytime once the sound engine was initialized. If this function is not called, the used value will be the value specified in the platform specific project settings.

Returns
  • AK_InvalidParameter if the threshold was not between 1 and MaxUInt16.
  • AK_Success if successful
Parameters
in_maxNumberVoicesMaximum number of non-virtual voices.

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise