Wiki Page Content

DRAFT

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

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.


CategoryStruct, CategoryEvents

None: SDL_AudioDeviceEvent (last edited 2015-03-21 20:24:39 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit