DOKK / manpages / debian 11 / libsdl1.2-dev / SDL_GetAudioStatus.3.en
SDL_GetAudioStatus(3) SDL API Reference SDL_GetAudioStatus(3)

SDL_GetAudioStatus - Get the current audio state

#include "SDL.h"

SDL_audiostatusSDL_GetAudioStatus(void);

typedef enum{

SDL_AUDIO_STOPPED,
SDL_AUDIO_PAUSED,
SDL_AUDIO_PLAYING } SDL_audiostatus;

Returns either SDL_AUDIO_STOPPED, SDL_AUDIO_PAUSED or SDL_AUDIO_PLAYING depending on the current audio state.

SDL_PauseAudio

Tue 11 Sep 2001, 22:58 SDL