table of contents
other versions
SDL_GetAudioDeviceStatus(3) | SDL3 FUNCTIONS | SDL_GetAudioDeviceStatus(3) |
NAME¶
SDL_GetAudioDeviceStatus - Use this function to get the current audio state of an audio device.
SYNOPSIS¶
#include "SDL3/SDL.h"
SDL_AudioStatus SDL_GetAudioDeviceStatus(SDL_AudioDeviceID dev);
FUNCTION PARAMETERS¶
- dev
- the ID of an audio device previously opened with SDL_OpenAudioDevice ()
RETURN VALUE¶
Returns the SDL_AudioStatus
of the specified audio device.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SEE ALSO¶
SDL_PlayAudioDevice(3), SDL_PauseAudioDevice(3)
SDL 3.0.0 | SDL |