Table des matières

Wwise SDK 2018.1.11

◆ SetMaxNumVoicesLimit()

AKRESULT __cdecl 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.