setSoundSourceGain
AudioModuleInterface::setSoundSourceGain
Sets the gain of a sound source.
Declaration
virtual void setSoundSourceGain(SoundSourceID soundSourceID, float newGain) = 0;
Parameters
Name |
Type |
Description |
---|---|---|
soundSourceID |
The sound source to change the gain of. |
|
newGain |
float |
The new gain of the sound source. |
Returns
None.