arrow_right Table of Contents

Other Documentation

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