This function sets a sound volume.
Copy Code | |
---|---|
float SetSoundVolume( int SoundIndex, float Volume ); |
SoundIndex
Type: int
The sound index.
Volume
Type: float
The volume to apply. Volumes are limited from 0.0f to 2.0f.
Returns a float with the applied volume of the sound .
Returns FLT_MAX if there was an internal error or the sound was not found.