mixModMusicJumpToOrder function

bool mixModMusicJumpToOrder(
  1. int order
)

Jump to a given order in mod music.

This only applies to MOD music formats.

\param order order. \returns true on success or false on failure; call SDL_GetError() for more information.

\since This function is available since SDL_mixer 3.0.0.

extern SDL_DECLSPEC bool SDLCALL Mix_ModMusicJumpToOrder(int order)

Implementation

bool mixModMusicJumpToOrder(int order) {
  final mixModMusicJumpToOrderLookupFunction = libSdl3Mixer.lookupFunction<
      Uint8 Function(Int32 order),
      int Function(int order)>('Mix_ModMusicJumpToOrder');
  return mixModMusicJumpToOrderLookupFunction(order) == 1;
}