SDL Wiki

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


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.