Version

menu_open
Wwise SDK 2023.1.3

◆ SetOutputVolume()

AKSOUNDENGINE_API AKRESULT 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_idOutputOutput ID to set the volume on. As returned from AddOutput or GetOutputID
in_fVolumeVolume (0.0 = Muted, 1.0 = Volume max)

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