Table of Contents

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.

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