SDL Wiki
(This function is part of SDL_mixer, a separate library from SDL.)

Mix_HookMusicFinished

Add your own callback for when the music has finished playing or when it is stopped from a call to Mix_HaltMusic.

Syntax

void Mix_HookMusicFinished(void (SDLCALL *music_finished)(void));

Function Parameters

music_finished

callback function

Version

This function is available since SDL_mixer 2.0.0.


CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.