Add your own music player or additional mixer function.
void Mix_HookMusic(void (SDLCALL *mix_func)(void *udata, Uint8 *stream, int len), void *arg);
mix_func |
mixer function callback |
arg |
callback argument to be passed |
If 'mix_func' is NULL, the default music player is re-enabled.
This function is available since SDL_mixer 2.0.0.