|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
int Mix_UnregisterEffect(int channel, Mix_EffectFunc_t f)
Remove the oldest (first found) registered effect function f from the effect list for channel. This only removes the first found occurance of that function, so it may need to be called multiple times if you added the same function multiple times, just stop removing when
Mix_UnregisterEffect returns an error, to remove all occurances of f from a channel.
If the channel is active the registered effect will have its
Mix_EffectDone_t function called, if it was specified in
Returns: Zero on errors, such as invalid channel, or effect function not registered on channel.
4.6.3 Mix_UnregisterAllEffects, 4.6.1 Mix_RegisterEffect