halt method

void halt()

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.

\since This function is available since SDL_mixer 3.0.0.

extern SDL_DECLSPEC void SDLCALL Mix_HaltMusic(void)

Implementation

void halt() {
  mixHaltMusic();
}