Other Documentation

Wwise SDK 2022.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.

  • AK_InvalidParameter if the threshold was not between 1 and MaxUInt16.
  • AK_Success if successful
in_maxNumberVoices Maximum 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