Function sdl2_sys::SDL_GetAudioDeviceStatus

source ยท
pub unsafe extern "C" fn SDL_GetAudioDeviceStatus(
    dev: SDL_AudioDeviceID,
) -> SDL_AudioStatus
Expand description

Use this function to get the current audio state of an audio device.

\param dev the ID of an audio device previously opened with SDL_OpenAudioDevice() \returns the SDL_AudioStatus of the specified audio device.

\since This function is available since SDL 2.0.0.

\sa SDL_PauseAudioDevice