mixPausedMusic function

bool mixPausedMusic()

Query whether the music stream is paused.

\return true if music is paused, false otherwise.

\since This function is available since SDL_mixer 3.0.0.

\sa Mix_PauseMusic \sa Mix_ResumeMusic

extern SDL_DECLSPEC bool SDLCALL Mix_PausedMusic(void)

Implementation

bool mixPausedMusic() {
  final mixPausedMusicLookupFunction = libSdl3Mixer
      .lookupFunction<Uint8 Function(), int Function()>('Mix_PausedMusic');
  return mixPausedMusicLookupFunction() == 1;
}