Draft

THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!

SDL_AudioDeviceEvent

A structure that contains Audio device event information.

Data Fields

Uint32

type

SDL_AUDIODEVICEADDED, or SDL_AUDIODEVICEREMOVED

Uint32

timestamp

the timestamp of the event

Uint32

which

the audio device index for the SDL_AUDIODEVICEADDED event (valid until next SDL_GetNumAudioDevices() call), SDL_AudioDeviceID for the SDL_AUDIODEVICEREMOVED event

Uint8

iscapture

zero if an audio output device, non-zero if an audio capture device

Version

This structure is available since SDL 2.0.4.

SDL_EventType
SDL_Event
SDL_GetNumAudioDevices

CategoryStruct, CategoryEvents, CategoryDraft