Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2021.1.14.8108 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Wwise SDK 2021.1.14

◆ 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.

Returns
  • 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
Parameters
in_fVolumeThresholdDB Volume Threshold, must be a value between 0 and -96.3 dB

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise