Firelight Technologies FMOD Studio API
FMOD_CHANNELCONTROL_CALLBACK_TYPE
These callback types are used with Channel::setCallback.
C/C++ Syntax
typedef enum {
FMOD_CHANNELCONTROL_CALLBACK_END,
FMOD_CHANNELCONTROL_CALLBACK_VIRTUALVOICE,
FMOD_CHANNELCONTROL_CALLBACK_SYNCPOINT,
FMOD_CHANNELCONTROL_CALLBACK_OCCLUSION,
FMOD_CHANNELCONTROL_CALLBACK_MAX
} FMOD_CHANNELCONTROL_CALLBACK_TYPE;
JavaScript Syntax
FMOD.CHANNELCONTROL_CALLBACK_END
FMOD.CHANNELCONTROL_CALLBACK_VIRTUALVOICE
FMOD.CHANNELCONTROL_CALLBACK_SYNCPOINT
FMOD.CHANNELCONTROL_CALLBACK_OCCLUSION
FMOD.CHANNELCONTROL_CALLBACK_MAX
FMOD.CHANNELCONTROL_CALLBACK_FORCEINT
Values
FMOD_CHANNELCONTROL_CALLBACK_END
Called when a sound ends.
FMOD_CHANNELCONTROL_CALLBACK_VIRTUALVOICE
Called when a voice is swapped out or swapped in.
FMOD_CHANNELCONTROL_CALLBACK_SYNCPOINT
Called when a syncpoint is encountered. Can be from wav file markers.
FMOD_CHANNELCONTROL_CALLBACK_OCCLUSION
Called when the channel has its geometry occlusion value calculated. Can be used to clamp or change the value.
FMOD_CHANNELCONTROL_CALLBACK_MAX
Maximum number of callback types supported.
Remarks
Each callback has commanddata parameters passed as int unique to the type of callback.
See reference to FMOD_CHANNELCONTROL_CALLBACK to determine what they might mean for each type of callback.
Note! Currently the user must call System::update for these callbacks to trigger!
See Also
Version 1.10.03 Built on Feb 1, 2018