Scroll to navigation

Mix_Paused(3) SDL_mixer3 FUNCTIONS Mix_Paused(3)

NAME

Mix_Paused - Query whether a particular channel is paused.

SYNOPSIS

#include "SDL3_mixer/SDL_mixer.h"
int Mix_Paused(int channel);

DESCRIPTION

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

FUNCTION PARAMETERS

the channel to query, or -1 to query all channels.

RETURN VALUE

Return 1 if channel paused, 0 otherwise. If channel is -1, returns the number of paused channels.

AVAILABILITY

This function is available since SDL_mixer 3.0.0.

SDL_mixer 3.0.0 SDL_mixer