DRAFT |
SDL_AudioDeviceEvent
A structure that contains Audio device event information.
Contents
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 |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Version
This structure is available since SDL 2.0.4.
Related Enumerations
Related Structures