mixPauseGroup function

void mixPauseGroup(
  1. int tag
)

Pause playing of a group of channels by arbitrary tag.

Pausing a channel will prevent further playback of the assigned chunk but will maintain the chunk's current mixing position. When resumed, this channel will continue to mix the chunk where it left off.

A paused channel can be resumed by calling Mix_Resume() or Mix_ResumeGroup().

A paused channel with an expiration will not expire while paused (the expiration countdown will be adjusted once resumed).

A tag is an arbitrary number that can be assigned to several mixer channels, to form groups of channels.

The default tag for a channel is -1.

\param tag an arbitrary value, assigned to channels, to search for.

\since This function is available since SDL_mixer 3.0.0.

extern SDL_DECLSPEC void SDLCALL Mix_PauseGroup(int tag)

Implementation

void mixPauseGroup(int tag) {
  final mixPauseGroupLookupFunction = libSdl3Mixer.lookupFunction<
      Void Function(Int32 tag), void Function(int tag)>('Mix_PauseGroup');
  return mixPauseGroupLookupFunction(tag);
}