Use this function to get the current audio state of an audio device.
Defined in SDL_audio.h
SDL_AudioStatus SDL_GetAudioDeviceStatus(SDL_AudioDeviceID dev);
SDL_AudioDeviceID | dev | the ID of an audio device previously opened with SDL_OpenAudioDevice(). |
(SDL_AudioStatus) Returns the SDL_AudioStatus of the specified audio device.
This function is available since SDL 2.0.0.