Table of Contents

AKRESULT __cdecl AK::SoundEngine::SetVolumeThreshold ( AkReal32  in_fVolumeThresholdDB  ) 

Allows the game to set the volume threshold to be used by the sound engine to determine if a voice must go virtual. 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 0 and -96.3 dB.
  • AK_Success if successful
in_fVolumeThresholdDB  Volume Threshold, must be a value between 0 and -96.3 dB