Firelight Technologies FMOD Studio API
Sets a user value that can be retrieved with ChannelControl::getUserData.
FMOD_RESULT ChannelControl::setUserData(
void *userdata
);
userdata
Data that the user wishes stored within this object.
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.
You can use this to store a pointer to any wrapper or internal class that is associated with this object. This is especially useful for callbacks where you need to get back access to your own objects.
Version 1.03.06 Built on Apr 17, 2014