[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
void Mix_ChannelFinished(void (*channel_finished)(int channel))
When channel playback is halted, then the specified channel_finished function is called. The channel
parameter will contain the channel number that has finished.
NOTE: NEVER call SDL_Mixer functions, nor SDL_LockAudio
, from a callback function.
|
|
See Also:
4.3.9 Mix_HaltChannel,
4.3.10 Mix_ExpireChannel