Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

Sortix volatile manual

This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.

SDL_GetAudioStatus(3) SDL API Reference SDL_GetAudioStatus(3)

NAME

SDL_GetAudioStatus - Get the current audio state

SYNOPSIS

#include "SDL.h"
 
SDL_audiostatusSDL_GetAudioStatus(void);

DESCRIPTION


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.

SEE ALSO

SDL_PauseAudio
Tue 11 Sep 2001, 22:58 SDL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org