My Project
Loading...
Searching...
No Matches
SDL_AudioDeviceEvent Struct Reference

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
 

Detailed Description

Audio device event structure (event.adevice.*)

Field Documentation

◆ iscapture

Uint8 iscapture

zero if an output device, non-zero if a capture device.

◆ timestamp

Uint32 timestamp

In milliseconds, populated using SDL_GetTicks()

◆ type

◆ which

Uint32 which

The audio device index for the ADDED event (valid until next SDL_GetNumAudioDevices() call), SDL_AudioDeviceID for the REMOVED event


The documentation for this struct was generated from the following file: