mixPaused function

int mixPaused(
  1. int channel
)

Query whether a particular channel is paused.

If an invalid channel is specified, this function returns zero.

\param channel the channel to query, or -1 to query all channels. \return 1 if channel paused, 0 otherwise. If channel is -1, returns the number of paused channels.

\since This function is available since SDL_mixer 3.0.0.

extern SDL_DECLSPEC int SDLCALL Mix_Paused(int channel)

Implementation

int mixPaused(int channel) {
  final mixPausedLookupFunction = libSdl3Mixer.lookupFunction<
      Int32 Function(Int32 channel), int Function(int channel)>('Mix_Paused');
  return mixPausedLookupFunction(channel);
}