[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
void Mix_HookMusicFinished(void (*music_finished)())
void function()
.
This sets up a function to be called when music playback is halted. Any time music stops, the music_finished function will be called. Call with NULL to remove the callback.
NOTE: NEVER call SDL_Mixer functions, nor SDL_LockAudio
, from a callback function.
|
See Also:
4.5.15 Mix_HaltMusic,
4.5.16 Mix_FadeOutMusic