My Project
|
Audio device event structure (event.adevice.*) More...
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
Uint32 | timestamp |
Uint32 | which |
Uint8 | iscapture |
Uint8 | padding1 |
Uint8 | padding2 |
Uint8 | padding3 |
Audio device event structure (event.adevice.*)
Uint8 iscapture |
zero if an output device, non-zero if a capture device.
Uint32 timestamp |
In milliseconds, populated using SDL_GetTicks()
Uint32 type |
Uint32 which |
The audio device index for the ADDED event (valid until next SDL_GetNumAudioDevices() call), SDL_AudioDeviceID for the REMOVED event