Other Documentation

Wwise SDK 2022.1.8

◆ SetVolumeThreshold()

AKSOUNDENGINE_API AKRESULT 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_Success if successful
  • AK_InvalidParameter if the threshold was not between 0 and -96.3 dB.
  • AK_InvalidFloatValue if the value specified was NaN or Inf
in_fVolumeThresholdDB Volume Threshold, must be a value between 0 and -96.3 dB

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