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 ChannelControl::addFadePoint(
unsigned long long dspclock,
float volume
);
dspclock
DSP clock of the parent channel group to set the fade point volume.
volume
Volume level where 0 is silent and 1.0 is normal volume. Amplification is supported.
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