Firelight Technologies FMOD Studio API
Sets the volume level linearly.
FMOD_RESULT ChannelControl::setVolume(
float volume
);
volume
Linear volume level, default = 1.0.
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
Volume level can be below 0 to invert a signal and above 1 to amplify the signal. Note that increasing the signal level too far may cause audible distortion.
Sound::setDefaults can be used to change the default volume for any channels played using that sound.
Version 1.03.06 Built on Apr 17, 2014