Table of Contents

Wwise SDK 2019.2.3

◆ SetOutputVolume()

AKSOUNDENGINE_API AKRESULT __cdecl AK::SoundEngine::SetOutputVolume ( AkOutputDeviceID  in_idOutput,
AkReal32  in_fVolume 
)

Sets the volume of a output device.

Returns
  • AK_Success if successful
  • AK_InvalidFloatValue if the value specified was NaN or Inf
Parameters
in_idOutput Output ID to set the volume on. As returned from AddOutput or GetOutputID
in_fVolume Volume (0.0 = Muted, 1.0 = Volume max)