Tao.Sdl SDK Documentation |
|
SdlMixer.MixEffectDoneDelegate Delegate
Special effect done callback function pointer
[Visual Basic]
Public Delegate Sub SdlMixer.MixEffectDoneDelegate( _
ByVal
chan As
Integer, _
ByVal
udata As
IntPtr _
)
[C#]
public delegate void SdlMixer.MixEffectDoneDelegate(
int chan,
IntPtr udata);
Parameters
-
chan
- The channel number that this effect is effecting now. MIX_CHANNEL_POST is passed in for post processing effects over the final mix.
-
udata
- User data pointer that was passed in to Mix_RegisterEffect when registering this effect processor function.
Remarks
This is the prototype for effect processing functions. This is called when a channel has finished playing, or halted, or is deallocated. This is also called when a processor is unregistered while processing is active. At that time the effects processing function may want to reset some internal variables or free some memory. It should free memory at least, because the processor could be freed after this call.
void (*Mix_EffectDone_t)(int chan, void *udata)
Requirements
Namespace: Tao.Sdl
Assembly: Tao.Sdl (in Tao.Sdl.dll)
See Also
Tao.Sdl Namespace | Mix_RegisterEffect | Mix_UnregisterEffect