mixHaltMusic function
Halt playing of the music stream.
This will stop further playback of music until a new music object is started there.
Any halted music will call any callback specified by Mix_HookMusicFinished() before this function returns.
\returns zero, regardless of whether any music was halted.
\since This function is available since SDL_mixer 2.0.0.
extern DECLSPEC int SDLCALL Mix_HaltMusic(void)
Implementation
int mixHaltMusic() {
final mixHaltMusicLookupFunction = libSdl2Mixer
.lookupFunction<Int32 Function(), int Function()>('Mix_HaltMusic');
return mixHaltMusicLookupFunction();
}