setMasterGain

AudioModuleInterface::setMasterGain

Sets the master gain.

Declaration

virtual void setMasterGain(float newGain) = 0;

Parameters

Name

Type

Description

newGain

float

The new master gain.

Returns

None.

Notes

The master gain is the overall volume of all sounds.