ChannelControl::getFadePoints

FMOD Studio API

Firelight Technologies FMOD Studio API

ChannelControl::getFadePoints

Retrieve information about fade points stored within a Channel or ChannelGroup.

C++ Syntax

FMOD_RESULT ChannelControl::getFadePoints(
  unsigned int *numpoints,
  unsigned long long *point_dspclock,
  float *point_volume
);

Parameters

numpoints

Address of a variable to receive the number of fade points stored within the Channel or ChannelGroup.

point_dspclock

Address of a variable to receive an array of 64bit clock values. Can be 0 or NULL.

point_volume

Address of a variable to receive an array of floating point volume values. Can be 0 or NULL.

Return Values

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.

Remarks

To first get the number of points for memory purposes, and not store any data, call this function with point_dpsclock and point_volume parameters being 0 or NULL.

See Also




Version 1.10.03 Built on Feb 1, 2018