Firelight Technologies FMOD Studio API
Add a volume point to fade from or towards, using a clock offset and 0 to 1 volume level.
FMOD_RESULT ChannelGroup::addFadePoint(
unsigned long long dspclock,
float volume
);
FMOD_RESULT FMOD_ChannelGroup_AddFadePoint(
FMOD_CHANNELGROUP *channelgroup,
unsigned long long dspclock,
float volume
);
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.
For every fade point, FMOD will do a per sample volume ramp between them. It will scale with the current Channel or ChannelGroup's volume.
Version 1.03.06 Built on Apr 17, 2014