FAudioGMS-Docs/docs/latest/Function-Index.md

4.7 KiB

Essentials

!> FAudioGMS_Init() and FAudioGMS_Destroy() are absolutely essential to FAudio playback. You should run FAudioGMS_Init() at the start of your game (usually on boot) and FAudioGMS_Update() should be run once every frame, usually in the Step event of a persistent instance.

 

Loading Sound Assets

 

Sound Instances

 

Effect Chains

  • FAudioGMS_EffectChain_Create()
  • FAudioGMS_EffectChain_AddDefaultReverb(effectChainID)
  • FAudioGMS_EffectChain_AddReverb(...)
  • FAudioGMS_EffectChain_Destroy(effectChainID)
  • FAudioGMS_SoundInstance_SetEffectChain(soundInstanceID, effectChainID, effectGain)
  • FAudioGMS_SoundInstance_SetEffectGain(soundInstanceID, effectGain)
  • FAudioGMS_SetMasteringEffectChain(effectChainID, effectGain)
  • FAudioGMS_SetMasteringEffectGain(effectGain)

 

Global Behaviours

  • FAudioGMS_SetListenerPosition(x, y, z)
  • FAudioGMS_SetListenerVelocity(xVelocity, yVelocity, zVelocity)
  • FAudioGMS_PauseAll()
  • FAudioGMS_ResumeAll()
  • FAudioGMS_StopAll