版本

menu_open
Wwise SDK 2022.1.12

◆ 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_fVolumeThresholdDBVolume Threshold, must be a value between 0 and -96.3 dB

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅